easysnowdata.terrain.chili.load#
- easysnowdata.terrain.chili.load(aoi: Any = None, *, source: str | None = None, normalize: bool | str = False, chunks: Any = 'easysnowdata-default', mask: bool = True, **kwargs: Any) DataArray[source]#
Load CHILI for aoi from Earth Engine at the asset’s native grid.
- Parameters:
aoi – Any form
easysnowdata.aoi.parse_aoi()accepts. The grid is the smallest block of native pixels covering it, so values are never resampled.source – Only
"gee"today; a DEM-computed heat-load index is the planned credential-free route.normalize –
False(default) returns the native 0-255 values,"index"divides by 255 to give the 0-1 index,"minmax"(orTrue) rescales within the AOI — whattopography.get_chilidid.chunks – Dask chunks;
Noneloads eagerly.mask – Kept for symmetry with the other loaders. Earth Engine already returns pixels outside the asset as NaN, so there is no sentinel to mask.
**kwargs – Passed to
xarray.open_dataset(engine="ee").
- Returns:
xarray.DataArray–chili, dimslatitude/longitude(ory/xwhen the asset’s native grid is projected), lazy unlesschunks=None.- Raises:
easysnowdata.auth.CredentialError – When Earth Engine is not configured (
esd.auth.login("earthengine")).