coincident.io.xarray.open_maxar_browse#
- coincident.io.xarray.open_maxar_browse(item, overview_level=0)#
Open a browse image from a STAC item using the specified overview level.
- Parameters:
item (pystac.Item) – The STAC item containing the browse image asset.
overview_level (int, optional) – The overview level to use when opening the image, by default 0.
- Returns:
The opened browse image as an xarray DataArray.
- Return type:
xr.DataArray
Notes
The function uses the rasterio engine to open the image and sets the GDAL_DISABLE_READDIR_ON_OPEN and GDAL_HTTP_HEADERS environment variables for optimized reading and authentication, respectively.