swot_simulator.orbit_propagator.Orbit¶
- class swot_simulator.orbit_propagator.Orbit(height: float, lat: numpy.ndarray, lon: numpy.ndarray, pass_time: numpy.ndarray, time: numpy.ndarray, x_al: numpy.ndarray, curvilinear_distance: float, shift_time: Optional[numpy.timedelta64])[source]¶
Bases:
object
Properties of one orbit
- Parameters
height (float) – Satellite height (in m)
lat (numpy.ndarray) – Latitudes (in degrees)
lon (numpy.ndarray) – Longitudes (in degrees)
pass_time (np.ndarray) – Start date of half-orbits.
time (np.ndarray) – Date of the positions (in seconds).
x_al (np.ndarray) – Along track distance
curvilinear_distance (float) – Distance covered by the satellite during a complete cycle.
shift_time (float) – Time shift to be applied.
- __init__(height: float, lat: numpy.ndarray, lon: numpy.ndarray, pass_time: numpy.ndarray, time: numpy.ndarray, x_al: numpy.ndarray, curvilinear_distance: float, shift_time: Optional[numpy.timedelta64])[source]¶
Methods
Get the cycle duration
Calculate the cycle and pass number from a given absolute pass number.
Returns the average time difference between two measurements.
Calculate the absolute pass number for a given half-orbit.
Orbit.iterate
([first_date, last_date, ...])Obtain all half-orbits within the defined time interval.
Get the orbit duration
Orbit.pass_duration
(number)Get the duration of a given pass.
Orbit.pass_shift
(number)Get the time offset between the first measurement and the last measurement of the track.
Get the number of passes per cycle