Download/Install

Is cf-plot already installed?

Jasmin@CEDA - cf-plot is available inside the Jasmin Analysis Platform

type python2.7 to start python.

Archer

type module swap PrgEnv-cray PrgEnv-intel
module load anaconda cf
and then python to use cf-plot.

Archer Jasmin RDF - jasmin.rdf.ac.uk

This has the Jasmin Analysis Platform installed
type python2.7 to start python.

Department of Meteorology, University of Reading

The latest version of cf-plot is installed on the Reading Academic Computing Cluster - cluster.act.rdg.ac.uk.
Type module load ncas_anaconda to set-up the Python environment
and then python to use cf-plot.

Monsoon postproc server

Type export PATH=/projects/umadmin/umadmin/anaconda2/bin:$PATH
and then python to use cf-plot.

To install cf-plot

Linux

To install cf-plot on your own Linux PC or laptop download and install Anaconda Python 2.7 for Linux. On the command line type:

conda install -c ncas -c conda-forge cf-python cf-plot udunits2=2.2.20
conda install -c conda-forge mpich esmpy

The first line installs cf-python and cf-plot. The second installs esmpy, together with the netcdf-fortran and mpich requirements, which cf-python uses for regriding data.

Other Operating Systems

We have a small development team and Linux is our main working environment. If you have the Mac or Windows operating system installing a Linux Virtual Machine is simple and works well. Installation instructions and a Mint Linux Virtual Machine are available at http://gws-access.ceda.ac.uk/public/ncas_climate/ajh/data_analysis_tools/VM.

Other install methods

Using pip:

pip install cf-python
pip install cf-plot

Using GitHub:

git clone git://github.com/ajheaps/cf-plot.git
cd cf-plot
python setup.py install

You will need to download and install cf-python to use cf-plot. Other cf-plot dependencies are: Numpy, Matplotlib, NetCDF4 and Cartopy.

Sample data sets

These are available in the cfplot_data directory which can be linked using:

Jasmin: ln -s /home/users/ajh/cfplot_data ~
Reading Academic Computing Cluster (RACC): ln -s /share/apps/NCAS/cfplot_data ~

If you are on a different server then download the sample netCDF datasets