orbitx.TLE.from_filepath#
- classmethod TLE.from_filepath(tle_filepath: str, satellite_shortname: str, satellite_name: str, start_date: datetime64, end_date: datetime64, reference_date: datetime64 = np.datetime64('1970-01-01T00:00:00'))[source]#
Generates a TLE object from a TLE file.
- Parameters:
tle_filepath (str) – The file containing the TLE
satellite_shortname (str) – The shortname of the satellite (e.g., S3A).
satellite_name (str) – The name of the satellite (e.g., Sentinel-3A).
start_date (np.datetime64) – The date from which the orbit needs to be simulated
end_date (np.datetime64) – The date until which the orbit needs to be simulated
reference_date (np.datetime64, optional) – The reference date used to represent dates as “seconds since”. Defaults to np.datetime64(“1970-01-01T00:00:00”).