Installation

Python dependencies

System dependencies

There are two main system dependencies: Climate Data Operators, and NCO. The easiest way to install them is using conda:

$ conda install -c conda-forge cdo

$ conda install -c conda-forge nco

While CDO is necessary for the package to work, NCO is an optional dependency.

If you want to install CDO from source with NetCDF and HDF5 support, you can use one of the bash scripts available here.

How to install nctoolkit

To install nctoolkit using pip:

$ pip install nctoolkit

To install the development version of nctoolkit:

$ pip install git+https://github.com/r4ecology/nctoolkit.git