CDO

CDO (Climate Data Operators) is a collection of command line operator to manipulate and analyse climate and NWP model data. It is open source and released under the terms of the GNU General Public License v2 (GPL).

Availability and Restrictions

Versions

CDO is available on Oakley Cluster. The versions currently available at OSC are:

version oakley
1.5.4 X
1.6.8 X*
* : Default Version

You can use module spider cdo  to view available modules on Oakley. Feel free to contact OSC Help if you need other versions for your work.

Access 

CDO is available for use by all OSC users.

Usage

Usage on Oakley

Set-up on Oakley

To load the default version of CDO module, use   module load cdo . To select a particular software version, use   module load cdo/version . For example, use   module load cdo/1.5.4  to load CDO version 1.5.4 on Oakley. 

Batch Usauge on Oakley

Batch jobs can request mutiple nodes/cores and compute time up to the limits of the OSC systems. Refer to Queues and Reservations for Oakley and Scheduling Policies and Limits for more info. 
Interactive Batch Session
For an interactive batch session on Oakley, one can run the following command:
qsub -I -l nodes=1:ppn=12 -l walltime=1:00:00
which gives you 12 cores ( -l nodes=1:ppn=12 ) with 1 hour ( -l walltime=1:00:00 ). You may adjust the numbers per your need.
Once your job is ready, you can start to use CDO. For example, use the following command to display general information about a data file named infile :
cdo info infile

Use cdo -h [operator] for operator descriptions. 

Further Reading

Official documentation can be obtained from https://code.zmaw.de/projects/cdo/wiki/Cdo#Documentation

Service: 
Fields of Science: