swot_simulator.orbit_propagator.load_ephemeris¶
-
swot_simulator.orbit_propagator.
load_ephemeris
(stream: TextIO, cols: Optional[Tuple[int, int, int]] = None) → Tuple[Dict[str, float], Tuple][source]¶ Loads a tabular file describing a satellite orbit.
- Parameters
stream (typing.TextIO) – Stream to the text file to be processed.
cols (tuple) – A tuple of 3 elements describing the columns representing the longitude, latitude and number of seconds elapsed since the beginning of the orbit.
- Returns
A tuple of 2 elements containing the properties of the orbit and the positions of the satellite.
- Return type