pyinterp.calculate_swath¶
- pyinterp.calculate_swath(half_orbit: Pass, *, across_track_resolution: float | None = None, along_track_resolution: float | None = None, half_swath: float | None = None, half_gap: float | None = None, spheroid: Spheroid | None = None) Swath [source]¶
Get the properties of a swath of an half-orbit.
- Parameters:
half_orbit – Half-orbit used to calculate the swath.
bbox – Bounding box of the pass. Defaults to the whole Earth.
across_track_resolution – Distance, in km, between two points across track direction. Defaults to 2 km.
along_track_resolution – Distance, in km, between two points along track direction. Defaults to 2 km.
half_swath – Distance, in km, between the nadir and the center of the last pixel of the swath. Defaults to 70 km.
half_gap – Distance, in km, between the nadir and the center of the first pixel of the swath. Defaults to 2 km.
spheroid – The spheroid to use for the calculation. Defaults to
None
, which means the WGS-84 spheroid is used.
- Returns:
The properties of the pass.