swot_simulator.orbit_propagator.calculate_orbit#

swot_simulator.orbit_propagator.calculate_orbit(parameters: Parameters, ephemeris: TextIO) Orbit[source]#

Computes the orbit nadir on a subdomain.

The path of the satellite is given by the orbit file and the subdomain corresponds to the one in the model. Note that a subdomain can be manually added in the parameters file.

Parameters
  • parameters (settings.Parameters) – Simulation parameters.

  • ephemeris (TextIO) – Stream to the ephemeris CSV file to be processed.

Returns

The orbit’s loaded into memory.

Return type

Orbit