dsgp4.tle.write_satellite_catalog_number#
- dsgp4.tle.write_satellite_catalog_number(satellite_catalog_number)#
This function takes a satellite catalog number and returns the corresponding 5-character field to be written in a TLE line. Numbers below 100000 are written as-is (zero padded), while numbers between 100000 and 339999 are encoded using the Alpha-5 convention adopted by Space-Track (the first digit is replaced by a letter, with ‘I’ and ‘O’ skipped). Numbers above 339999 cannot be represented in the TLE format and raise a ValueError (use the OMM format instead).
Parameters:#
satellite_catalog_number (
int): satellite catalog numberReturns:#
str: 5-character satellite catalog number field