Installation

Python dependencies

How to install nctoolkit

The easiest way to install the package is using conda, which will install nctoolkit and all system dependencies:

$ conda install -c rwi nctoolkit

nctoolkit is available from the Python Packaging Index. To install nctoolkit using pip:

$ pip install nctoolkit

To install the development version from GitHub:

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

System dependencies

If you install using conda, system dependencies will be handled for you. Otherwise you must install them. 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 and does not have to be installed.

If you want to install CDO from source, you can use one of the bash scripts available here.