pyinterp.orbit.calculate_orbit#
- pyinterp.orbit.calculate_orbit(height, lon_nadir, lat_nadir, time, cycle_duration=None, along_track_resolution=None, spheroid=None)[source]#
Calculate the orbit at the given height.
- Parameters:
height (float) – Height of the orbit, in meters.
lon_nadir (NDArray1DFloat64) – Nadir longitude of the orbit (degrees).
lat_nadir (NDArray1DFloat64) – Nadir latitude of the orbit (degrees).
time (NDArray1DTimeDelta64) – Time elapsed since the start of the orbit.
cycle_duration (np.timedelta64 | None) – Duration of the cycle.
along_track_resolution (float | None) – Resolution of the along-track interpolation in kilometers. Defaults to 2 kilometers.
spheroid (Spheroid | None) – Spheroid to use for the calculations. Defaults to WGS84.
- Returns:
Orbit object.
- Return type: