libgs_ops.propagator.Propagator.get_tle

Propagator.get_tle(nid)[source]

Return TLEs from a NORAD ID by quering Space-Track if data is older than the specified timeout from memory otherwise

Parameters:nid (int) – Norad ID
Returns:Three line element (TLE)

If the timeout delay has not been hit it will return the most recently fetched TLE, otherwise it will retreive the most recent TLE from spacetrack.

Example:

>>> A.get_tle(25544)
['0 ISS (ZARYA)', '1 25544U 98067A   17164.50922405 +.00002016 +00000-0 +37842-4 0  9993', '2 25544 051.6431 056.6611 0004416 268.2130 149.1141 15.54021074061180']