pyinterp.Swath.mask

Swath.mask(requirement_bounds: tuple[float, float]) NDArray[source]

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

Parameters:

requirement_bounds (tuple) – Limits of SWOT swath requirements: absolute value of the minimum and maximum across track distance.

Returns:

Mask set true, if the swath is outside the requirements of the mission.