coincident.io.xarray.load_gliht#

coincident.io.xarray.load_gliht(item, aoi=None, mask=False, **kwargs)[source]#

Load a GLiHT GeoTIFF asset as an xarray DataArray.

Parameters:
  • item (GeoSeries) – A STAC item represented as a GeoSeries, containing asset metadata.

  • aoi (GeoDataFrame | None) – An optional area of interest to which the raster will be clipped.

  • mask (bool) – Whether to mask the raster data.

  • **kwargs (Any) – Additional keyword arguments passed to rioxarray.open_rasterio.

Return type:

DataArray

Returns:

The loaded raster data as an xarray DataArray, with the “time” dimension set to the item’s datetime.

Raises:

ValueError – If no suitable .tif data assets are found in the item.

Notes

  • Only HTTPS GeoTIFF assets with the “data” role are considered.

  • NASA Earthdata authentication is handled via environment variables and cookies.