pyinterp.geometry.satellite.infer_orbit_direction

pyinterp.geometry.satellite.infer_orbit_direction#

pyinterp.geometry.satellite.infer_orbit_direction(lon: numpy.ndarray[dtype=float64, shape=(*), writable=False]) → pyinterp.core.geometry.satellite.OrbitDirection#

Infer the orbital direction (prograde or retrograde) from the longitude array of a track.

Parameters:

lon – Longitude array (degrees), 1-D.

Returns:

OrbitDirection enum value indicating the inferred orbital direction.