orbitx.utils._tle.create_xarray

Contents

orbitx.utils._tle.create_xarray#

orbitx.utils._tle.create_xarray(tle_line_1: ndarray[tuple[Any, ...], dtype[str_]], tle_line_2: ndarray[tuple[Any, ...], dtype[str_]], reference_date: datetime64, start_date: datetime64, end_date: datetime64, satellite_shortname: str, satellite_name: str) Dataset[source]#

create_xarray Generate an xarray containing all the information from the TLE file

Parameters:
  • tle_line_1 (List[str]) – The list of first TLE lines

  • tle_line_2 (List[str]) – The list of second TLE lines

  • reference_date (np.datetime64) – The date used as a reference when providing dates in “seconds since”

  • start_date (np.datetime64) – The date from which the orbit will be simulated

  • end_date (np.datetime64) – The date until which the orbit will be simulated

  • satellite_shortname (str) – The short name of the satellite (e.g., S3A)

  • satellite_name (str) – The name of the satellite (e.g., Sentinel-3A)

Returns:

An xarray containing all information from the TLE file

Return type:

xr.Dataset