orbitx.utils._tle.get_launch_number

orbitx.utils._tle.get_launch_number#

orbitx.utils._tle.get_launch_number(line1: str) int[source]#

Finds the launch number of this satellite in the launch year. The launch number corresponds to the characters 12 to 14 of the first line.

Parameters:

line1 (str) – The first line of the considered TLE

Returns:

The launch number of the satellite

Return type:

str

Example

line1 = "1 25544U 98067A   08264.51782528 -.00002182  00000-0 -11606-4 0  2927"
launch_number = get_launch_number(line1)
print(launch_number)
67