pyinterp.orbit.Orbit.iterate#
- Orbit.iterate(first_date=None, last_date=None, absolute_pass_number=1)[source]#
Obtain all half-orbits within the defined time interval.
- Parameters:
first_date (np.datetime64 | None) – First date of the period to be considered. Defaults to the current date.
last_date (np.datetime64 | None) – Last date of the period to be considered. Defaults to the current date plus the orbit duration.
absolute_pass_number (int, optional) – Absolute number of the first pass to be returned.
- Returns:
An iterator for all passes in the interval pointing to the cycle number, pass number and start date of the half-orbit.
- Return type:
iterator