swot_simulator.orbit_propagator.Pass#

class swot_simulator.orbit_propagator.Pass(lat_nadir: ndarray, lat: ndarray, lon_nadir: ndarray, lon: ndarray, time: ndarray, x_ac: ndarray, x_al: ndarray, equator_coordinates: EquatorCoordinates, offset: int = 0, requirement_bounds: Optional[Tuple[float, float]] = None)[source]#

Bases: object

Handle one pass.

Parameters
  • lat_nadir (np.ndarray) – Latitudes at nadir

  • lat (np.ndarray) – Latitudes of the swath

  • lon_nadir (np.ndarray) – Longitudes at nadir

  • lon (np.ndarray) – Longitudes of the swath

  • time (np.ndarray) – Time of measurements

  • x_ac (np.ndarray) – Across track distance.

  • x_al (np.ndarray) – Along track distance.

  • equator_coordinate (EquatorCoordinates) – Coordinates of the satellite at the equator.

  • offset (int) – number of measurements to be skipped at the beginning and at the end of the pass to ignore the temporal overlap between consecutive passes.

  • requirement_bounds – Limits of swath requirements. Measurements outside the span will be set to NaN.

__init__(lat_nadir: ndarray, lat: ndarray, lon_nadir: ndarray, lon: ndarray, time: ndarray, x_ac: ndarray, x_al: ndarray, equator_coordinates: EquatorCoordinates, offset: int = 0, requirement_bounds: Optional[Tuple[float, float]] = None)[source]#

Methods

Pass.mask()

Obtain a mask to set NaN values outside the mission requirements.

Pass.set_simulated_date(date)

Set time of positions.

Attributes

Pass.lon_eq

Equator longitude.

Pass.time

Time of positions.

Pass.time_eq

Time at the equator.