lumos.constellation.tools.query_celestrak

lumos.constellation.tools.query_celestrak(filename, query, value, format, supplemental=False)[source]

Tool to interface with Celestrak API. See celestrak.org for more details.

Parameters:
  • filename (str) – File where downloaded data is written

  • query (str) – CATNR or INTDES or GROUP or NAME or SPECIAL

  • value (str) – Determines how the query is filtered

  • format (str) – TLE or 2LE or XML or KVN or JSON or JSON-PRETTY or CSV

  • supplemental (bool, optional) – Whether to pull from Celestrak’s suplemental GP data