pyinterp.orbit.Swath

Contents

pyinterp.orbit.Swath#

class pyinterp.orbit.Swath(lon_nadir, lat_nadir, time, x_al, equator_coordinates, lon, lat, x_ac)[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)

lon_nadir

Nadir longitude of the pass (degrees)

lat_nadir

Nadir latitude of the pass (degrees)

time

Time of the pass

x_al

Along track distance of the pass (in meters)

equator_coordinates

Coordinates of the satellite at the equator

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__

__replace__(**changes)

__repr__()

Return repr(self).

__setattr__(name, value)

Implement setattr(self, name, value).