Installation#

Datatree can be installed in three ways:

Using the conda package manager that comes with the Anaconda/Miniconda distribution:

$ conda install xarray-datatree --channel conda-forge

Using the pip package manager:

$ python -m pip install xarray-datatree

To install a development version from source:

$ git clone https://github.com/xarray-contrib/datatree
$ cd datatree
$ python -m pip install -e .

You will just need xarray as a required dependency, with netcdf4, zarr, and h5netcdf as optional dependencies to allow file I/O.

Note

Datatree is very much still in the early stages of development. There may be functions that are present but whose internals are not yet implemented, or significant changes to the API in future. That said, if you try it out and find some behaviour that looks like a bug to you, please report it on the issue tracker!