pyinterp.Orbit.iterate#

Orbit.iterate(first_date: datetime64 | None = None, last_date: datetime64 | None = None, absolute_pass_number: int = 1) Iterator[Tuple[int, int, datetime64]][source]#

Obtain all half-orbits within the defined time interval.

Parameters:
  • first_date – First date of the period to be considered. Defaults to the current date.

  • last_date – 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