xarray.tutorial.open_dataset

xarray.tutorial.open_dataset(name, engine=None, cache=True, cache_dir=None, **kws)[source]

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

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

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

  • engine (str, optional) – The engine to use.

  • 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

Notes

Available datasets: