libgs_ops.propagator.TLEDb

class libgs_ops.propagator.TLEDb(fname=None, tles=None)[source]

Database of TLEs.

The Database can be loaded from a file, or input directly.

This class can serve as a drop-in replacement for SpaceTrackAPI when creating a Propagator as it implements the get_tles method.

Note

Only one of the arguments (fname or tles) must be specified, and not both.

Parameters:
  • fname (str) – The filename to load TLEs from
  • tles (dict or str) – Manual specificaiton of TLES

Methods

get_tles(nids) Query database for a series of norad IDs, and return the NIDs and TLEs in a dict.
save_tles(fname[, fformat]) Save the database to file.

Inherited from base class