easysnowdata.snow.modis.load#

easysnowdata.snow.modis.load(aoi: Any = None, time: Any = None, *, product: str = 'MOD10A1', variables: str | Sequence[str] | None = None, source: str | None = None, granules: Any = None, resolution: float | None = None, crs: Any = None, chunks: Any = True, mask: bool = False, **kwargs: Any) Dataset[source]#

Load MODIS snow cover as a lazy xarray.Dataset (time, y, x).

Parameters:
  • aoi – The usual spatial and temporal inputs. clip=False on the AOI keeps whole MODIS tiles.

  • time – The usual spatial and temporal inputs. clip=False on the AOI keeps whole MODIS tiles.

  • product"MOD10A1" (default), "MOD10A2", "MOD10A1F" or an Aqua sibling ("MYD…").

  • variables – Which data fields to read; the product’s main field by default.

  • source"nsidc" (default) or "planetary-computer".

  • granules – A search result to load instead of searching again.

  • maskTrue NaN-masks the sentinel values (cloud, night, fill …). The default keeps the raw byte with its CF flags, so nothing is lost; easysnowdata.processing.binary_snow() turns it into a mask.

  • crs – Reproject the native sinusoidal grid (default: keep it).

  • resolution – Reproject the native sinusoidal grid (default: keep it).