read_tle

ssapy.io.read_tle(sat_name, tle_filename)[source][source]

Get the TLE data from the file for the satellite with the given name

Parameters:
  • sat_name (str) – NORAD name of the satellite

  • tle_filename (str) – Path and name of file where TLE is

Returns:

line1, line2 – Both lines of the satellite TLE

Return type:

str