pyinterp.orbit.Orbit

Contents

pyinterp.orbit.Orbit#

class pyinterp.orbit.Orbit(height, latitude, longitude, pass_time, time, x_al, wgs)[source]#

Bases: object

Represent properties of the orbit.

Store and manage orbital parameters including position, timing, and geodetic information.

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

  • latitude (NDArray1DFloat64) – Latitudes (in degrees).

  • longitude (NDArray1DFloat64) – Longitudes (in degrees).

  • pass_time (NDArray1DTimeDelta64) – Start date of half-orbits.

  • time (NDArray1DTimeDelta64) – Time elapsed since the beginning of the orbit.

  • x_al (NDArray1DFloat64) – Along track distance (in meters).

  • wgs (Spheroid | None) – 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 cycle and pass numbers from an absolute pass number.

delta_t()

Return 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__

__replace__(**changes)

__repr__()

Return repr(self).

__setattr__(name, value)

Implement setattr(self, name, value).