pyinterp.Swath

class pyinterp.Swath(lon_nadir: NDArray1DFloat64, lat_nadir: NDArray1DFloat64, time: NDArray1DTimeDelta, x_al: NDArray1DFloat64, equator_coordinates: EquatorCoordinates, lon: NDArray2DFloat64, lat: NDArray2DFloat64, x_ac: NDArray2DFloat64)[source]

Bases: Pass

Represent a swath of an orbital pass.

Extend the Pass class with additional swath-specific properties including cross-track coordinates and distances.

Attributes

lon

Longitude of the swath (degrees)

lat

Latitude of the swath (degrees)

x_ac

Across track distance of the pass (m)

Public Methods

insert_central_pixel()

Insert a central pixel dividing the swath in two.

mask(requirement_bounds)

Obtain a mask to set NaN values outside the mission requirements.

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).