pyinterp.Swath#

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

Bases: Pass

Class representing a pass of an orbit.

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

Return a swath with a central pixel dividing the swath in two by the reference ground track.

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.

__repr__()

Return repr(self).

__setattr__(name, value)

Implement setattr(self, name, value).