Installation

Install by conda

These two commands will install cf-python, all of its required dependencies and the two optional packages cf-plot (http://ajheaps.github.io/cf-plot) and ESMF (https://www.earthsystemcog.org/projects/esmf):

conda install -c ncas -c scitools cf-python cf-plot
conda install -c nesii esmpy

To install cf-python and all of its required dependencies alone:

conda install -c ncas -c scitools cf-python

To update cf-python, cf-plot and ESMF to the latest versions:

conda update -c ncas -c scitools cf-python cf-plot
conda update -c nesii esmpy

Dependencies

If not installing with conda, then the dependencies will need to satisfied manually. See https://bitbucket.org/cfpython/cf-python/overview for the current list of dependencies.

Install from PyPi with pip

pip install cf-python

Install from source

Download the cf package from https://bitbucket.org/cfpython/cf-python/downloads

Unpack the library:

tar zxvf cf-python-1.2.1.tar.gz
cd cf-python-1.2.1

To install the cf package to a central location:

python setup.py install

To install the cf package locally to the user in a default location:

python setup.py install --user

To install the cf package in the <directory> of your choice:

python setup.py install --home=<directory>

Issues

Please raise any questions or problems at https://bitbucket.org/cfpython/cf-python/issues