orbitx.utils._matchups.land_mask.land_mask

Contents

orbitx.utils._matchups.land_mask.land_mask#

orbitx.utils._matchups.land_mask.land_mask(lat_c: float, lon_c: float, swath_width: float = 1.0) Literal['OCEAN', 'LAND', 'COAST'][source]#

Computes an estimate of land fraction for a scene with centre of (lon_c,lat_c) +/- swath width to deduce whether the correct mask is “LAND”, “OCEAN”, or “COAST”

Returns:

The correct mask for this position

Return type:

str