# xarray.tutorial.load_datatree

### xarray.tutorial.load_datatree(\*args, \*\*kwargs)[[source]](https://github.com/pydata/xarray/blob/main/xarray/tutorial.py#L355-L395)

Open, load into memory (as a DataTree), and close a dataset from the online repository
(requires internet).

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

Available datasets:

* `"imerghh_730"`: GPM IMERG Final Precipitation L3 Half Hourly 0.1 degree x 0.1 degree V07 from 2021-08-29T07:30:00.000Z
* `"imerghh_830"`: GPM IMERG Final Precipitation L3 Half Hourly 0.1 degree x 0.1 degree V07 from 2021-08-29T08:30:00.000Z
* `"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`](https://docs.python.org/3/builtins/stdtypes.html#str)) – Name of the file containing the dataset.
    e.g. ‘air_temperature’
  * **cache_dir** ([path-like](https://docs.python.org/3/glossary.html#term-path-like-object), *optional*) – The directory in which to search for and write cached data.
  * **cache** ([`bool`](https://docs.python.org/3/builtins/functions.html#bool), *optional*) – If True, then cache data locally for use on subsequent calls
  * **\*\*kws** ([`dict`](https://docs.python.org/3/builtins/stdtypes.html#dict), *optional*) – Passed to xarray.open_datatree

#### SEE ALSO
`tutorial.open_datatree`, [`open_datatree`](xarray.tutorial.open_datatree.html.md#xarray.tutorial.open_datatree)
