xarray.tutorial.open_dataset#
- xarray.tutorial.open_dataset(name, cache=True, cache_dir=None, *, engine=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.
Available datasets:
"air_temperature"
: NCEP reanalysis subset"air_temperature_gradient"
: NCEP reanalysis subset with approximate x,y gradients"basin_mask"
: Dataset with ocean basins marked using integers"ASE_ice_velocity"
: MEaSUREs InSAR-Based Ice Velocity of the Amundsen Sea Embayment, Antarctica, Version 1"rasm"
: Output of the Regional Arctic System Model (RASM)"ROMS_example"
: Regional Ocean Model System (ROMS) output"tiny"
: small synthetic dataset with a 1D data variable"era5-2mt-2019-03-uk.grib"
: ERA5 temperature data over the UK"eraint_uvz"
: data from ERA-Interim reanalysis, monthly averages of upper level data"ersstv5"
: NOAA’s Extended Reconstructed Sea Surface Temperature monthly averages
- Parameters
name (
str
) – Name of the file containing the dataset. e.g. ‘air_temperature’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
See also
tutorial.load_dataset
,open_dataset
,load_dataset