pyinterp.Orbit

class pyinterp.Orbit(height: float, latitude: NDArray, longitude: NDArray, pass_time: NDArrayTimeDelta, time: NDArrayTimeDelta, x_al: NDArray, wgs: geodetic.Spheroid | None)[source]

Bases: object

Properties of the orbit.

Parameters:
  • height – Height of the satellite (in meters).

  • latitude – Latitudes (in degrees).

  • longitude – Longitudes (in degrees).

  • pass_time – Start date of half-orbits.

  • time – Time elapsed since the beginning of the orbit.

  • x_al – Along track distance (in meters).

  • wgs – World Geodetic System used.

Attributes

height

Height of the satellite (in meters).

latitude

Latitudes (in degrees).

longitude

Longitudes (in degrees).

pass_time

Start date of half-orbits.

time

Time elapsed since the beginning of the orbit.

x_al

Along track distance (in meters).

wgs

Spheroid model used.

Public Methods

curvilinear_distance()

Get the curvilinear distance.

cycle_duration()

Get the cycle duration.

decode_absolute_pass_number(number)

Calculate the cycle and pass number from a given absolute pass number.

delta_t()

Returns the average time difference between two measurements.

encode_absolute_pass_number(cycle_number, ...)

Calculate the absolute pass number for a given half-orbit.

iterate([first_date, last_date, ...])

Obtain all half-orbits within the defined time interval.

orbit_duration()

Get the orbit duration.

pass_duration(number)

Get the duration of a given pass.

passes_per_cycle()

Get the number of passes per cycle.

Special Methods

__dataclass_fields__

__dataclass_params__

__delattr__(name)

Implement delattr(self, name).

__eq__(other)

Return self==value.

__match_args__

__repr__()

Return repr(self).

__setattr__(name, value)

Implement setattr(self, name, value).