xdggs.tutorial.open_dataset

Contents

xdggs.tutorial.open_dataset#

xdggs.tutorial.open_dataset(name, grid_name, *, cache=True, cache_dir=None, engine=None, **kws)#

Open a dataset from the online repository (requires internet).

If a local copy is found then always use that to avoid network traffic.

Available datasets (available grid names in parentheses):

  • "air_temperature" (h3, healpix): NCEP reanalysis subset.

Parameters:
  • name (str) – Name of the file containing the dataset. e.g. ‘air_temperature’

  • grid_name (str) – Name of the grid file.

  • cache_dir (path-like, optional) – The directory in which to search for and write cached data.

  • cache (bool, optional) – If True, then cache data locally for use on subsequent calls

  • **kws (dict, optional) – Passed to xarray.open_dataset