hypergas.landmask module
Create 2D landmask for hyperspectral satellite data.
- hypergas.landmask.Land_mask(lons, lats, source='OSM')[source]
Create the segmentation for land and ocean/lake types.
- Parameters:
lons (
numpy.ndarray) – 2D longitude of pixels.lats (
numpy.ndarray) – 2D latitude of pixels.source (str) – The data source of land mask (“OSM”, “GSHHS” or “Natural Earth”), Default: “OSM”.
- Returns:
Land_mask (
DataArray) – 2D array, 0: ocean/lake, 1: land