xgcm is compatible with python 3 (>= version 3.6). It requires xarray (>= version 0.13.0) numpy (>= version 1.16.0) and dask (>= version 0.16.0).
The easiest way to install xgcm along with its dependencies is via conda forge:
conda install -c conda-forge xgcm
An alternative is to use pip:
pip install xgcm
This will install the latest release from pypi.
xgcm is under active development. To obtain the latest development version, you may clone the source repository and install it:
git clone https://github.com/xgcm/xgcm.git cd xgcm python setup.py install
or simply:
pip install git+https://github.com/xgcm/xgcm.git
Users are encouraged to fork xgcm and submit issues and pull requests.