orbitx.utils._tle.get_launch_year#
- orbitx.utils._tle.get_launch_year(line1: str) int[source]#
Finds the launch year of the satellite from the first line of the TLE. The launch year corresponds to the characters ten and eleven of the first line.
- Parameters:
line1 (str) – The first line of the considered TLE
- Returns:
The launch year of the satellite
- Return type:
str
Example
line1 = "1 25544U 98067A 08264.51782528 -.00002182 00000-0 -11606-4 0 2927" launch_year = get_launch_year(line1) print(launch_year)
1998