orbitx.utils._tle.get_catalog_number#
- orbitx.utils._tle.get_catalog_number(line1: str) str[source]#
Finds the catalog number in the first line of the TLE. This corresponds to characters three to seven of the first line of the TLE.
- Parameters:
line1 (str) – The first line of the considered TLE
- Returns:
The catalog number of the satellite
- Return type:
str
Example
line1 = "1 25544U 98067A 08264.51782528 -.00002182 00000-0 -11606-4 0 2927" catalog_number = get_catalog_number(line1) print(catalog_number)
25544