pyinterp.orbit.calculate_swath

pyinterp.orbit.calculate_swath#

pyinterp.orbit.calculate_swath(half_orbit, *, across_track_resolution=None, along_track_resolution=None, half_swath=None, half_gap=None, spheroid=None)[source]#

Get the properties of a swath of an half-orbit.

Parameters:
  • half_orbit (Pass) – Half-orbit used to calculate the swath.

  • bbox – Bounding box of the pass. Defaults to the whole Earth.

  • across_track_resolution (float | None) – Distance, in km, between two points across track direction. Defaults to 2 km.

  • along_track_resolution (float | None) – Distance, in km, between two points along track direction. Defaults to 2 km.

  • half_swath (float | None) – Distance, in km, between the nadir and the center of the last pixel of the swath. Defaults to 70 km.

  • half_gap (float | None) – Distance, in km, between the nadir and the center of the first pixel of the swath. Defaults to 2 km.

  • spheroid (Spheroid | None) – The spheroid to use for the calculation. Defaults to None, which means the WGS-84 spheroid is used.

Returns:

The properties of the pass.

Return type:

Swath