Updated 2019-07-15

cdo.pbs

#PBS -N cdoTest
#PBS -l nodes=1:ppn=2
#PBS -l pmem=4gb
#PBS -l walltime=3:00
#PBS -q force-6
#PBS -j oe
#PBS -o cdoTest.out

cd $PBS_O_WORKDIR
module load intel/15.0
module load cdo/1.9.5

# Display variables of a file
cdo -showname sst.mon.mean.nc
# Display number of timesteps of a file
cdo -ntime sst.mon.mean.nc
# Display Information about the underlying grid
cdo -griddes sst.mon.mean.nc
# File conversion with different file types: Copying whole data sets can be easily done with the copy operator. 
# With the '-f' switch, you can choose a new file type:
cdo -f grb -copy sst.mon.mean.nc sst.mon.mean.grb