import xarray as xrds = xr.open_dataset(path_or_uri, engine="gdalxarray")
gdalxarray is a thin bridge between what GDAL can read (classic rasters, multidimensional arrays, and every virtual store GDAL knows about) and xarray’s labelled-array model. It is lazy by default, Dask-chunked on request, and carries CRS and CF time through.
Every code block on this site is run when the site is built, so what you see is what the current release does against the current GDAL. The small inputs are cuts of real public data kept with this repository, each with a script that rebuilds it from its source; the larger examples in the Gallery read public cloud stores, listed with their permanence on the Stores page.
A first look
Three days of NOAA’s daily sea surface temperature analysis (OISST v2.1, a quarter degree, global), written by xarray as Zarr v3, opened by GDAL’s Zarr driver and handed back to xarray:
Data: NOAA 0.25-degree Daily Optimum Interpolation Sea Surface Temperature (OISST), Version 2.1; doi:10.25921/RE9P-PT57; licence: CC0-1.0; days 20250101, 20250102, 20250103. Built by scripts/fixtures/make_oisst.py; details in docs/fixtures/oisst/provenance.json.
Sea surface temperature on the first day, read lazily through GDAL’s Zarr driver. White is land and sea ice.
The same call works for a netCDF on a web server, a COG in a bucket, a multidimensional VRT, a kerchunk-Parquet reference store or an Icechunk repository: only the string changes.