coincident.io.xarray.open_vantor_browse#

coincident.io.xarray.open_vantor_browse(item, overview_level=0)[source]#

Open a browse image from a STAC item using the specified overview level.

Parameters:
  • item (Item) – The STAC item containing the browse image asset.

  • overview_level (int) – The overview level to use when opening the image.

Return type:

DataArray

Returns:

The opened browse image as an xarray 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.