swot_simulator.orbit_propagator.rearrange_orbit¶
- swot_simulator.orbit_propagator.rearrange_orbit(cycle_duration: float, lon: numpy.ndarray, lat: numpy.ndarray, time: numpy.ndarray) Tuple[numpy.ndarray, numpy.ndarray, numpy.ndarray] [source]¶
Rearrange orbit starting from pass 1
Detect the beginning of pass 1 in the ephemeris. By definition, it is the first passage at southernmost latitude.
- Parameters
cycle_duration (float) – Cycle time in seconds.
lon (numpy.ndarray) – Longitudes (in degrees)
lat (numpy.ndarray) – Latitudes (in degrees)
time (np.ndarray) – Date of the positions (in seconds).
- Returns
lon, lat, and time rearranged.
- Return type