0% found this document useful (0 votes)
2K views3 pages

CDO Reference Card

This reference card summarizes the commands and options for the Climate Data Operators (CDO) tool. It lists CDO operators for selecting, deleting, and changing fields, parameters, grids, z-axes, and attributes in input files. It also provides syntax examples and descriptions of options for setting output format, grid type, and attribute values.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views3 pages

CDO Reference Card

This reference card summarizes the commands and options for the Climate Data Operators (CDO) tool. It lists CDO operators for selecting, deleting, and changing fields, parameters, grids, z-axes, and attributes in input files. It also provides syntax examples and descriptions of options for setting output format, grid type, and attribute values.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

showformat Show file format Selection ifthenc If then constant

CDO Reference Card showcode


showname
Show
Show
code numbers
variable names select Select fields
ifnotthenc If not then constant
< operator >,c infile outfile
showstdname Show standard names delete Delete fields
< operator >,params infiles outfile reducegrid Reduce input file variables to locations, where mask
showatts Show all attributes reducegrid,mask[,limitCoordsOutput] infile outfile
Climate Data Operators showattsglob Show all global attributes selmulti Select multiple fields
Version 1.9.4 showlevel Show levels delmulti Delete multiple fields
April 2018 showltype Show GRIB level types changemulti Change identication of multiple fields
showyear Show years < operator >,selection-specification infile outfile
showmon Show months Comparison
Uwe Schulzweida selparam Select parameters by identifier
showdate Show date information
Max-Planck-Institute for Meteorology delparam Delete parameters by identifier
showtime Show time information eq Equal
< operator >,params infile outfile
showtimestamp Show timestamp ne Not equal
selcode Select parameters by code number
< operator > infile le Less equal
https://code.mpimet.mpg.de/projects/cdo delcode Delete parameters by code number
lt Less than
showattribute Show a global attribute or a variable attribute < operator >,codes infile outfile
ge Greater equal
showattribute,attribute infile selname Select parameters by name
gt Greater than
showattsvar Show all variable attributes. delname Delete parameters by name
< operator > infile1 infile2 outfile
showattsvar[,var nm] infile < operator >,names infile outfile
selstdname Select parameters by standard name eqc Equal constant
partab Parameter table
Syntax selstdname,stdnames infile outfile nec Not equal constant
codetab Parameter code table
sellevel Select levels lec Less equal constant
griddes Grid description
cdo [Options] Operator1 [ –Operator2 [ –OperatorN ] ] sellevel,levels infile outfile ltc Less than constant
zaxisdes Z-axis description
sellevidx Select levels by index gec Greater equal constant
vct Vertical coordinate table
sellevidx,levidx infile outfile gtc Greater than constant
< operator > infile
selgrid Select grids < operator >,c infile outfile
Options selgrid,grids infile outfile
-a Generate an absolute time axis selzaxis Select z-axes
-b < nbits > Set the number of bits for the output precision selzaxis,zaxes infile outfile
(I8/I16/I32/F32/F64 for nc1,nc2,nc4,nc4c; selzaxisname Select z-axes by name Modification
F32/F64 for grb2,srv,ext,ieg; 1-24 for grb1,grb2) selzaxisname,zaxisnames infile outfile
Add L or B for Little or Big endian byteorder
File operations selltype Select GRIB level types setattribute Set attributes
selltype,ltypes infile outfile setattribute,attributes infile outfile
-f < f ormat > Outputformat: grb1,grb2,nc1,nc2,nc4,nc4c,srv,ext,ieg
-g < grid > Grid or file name copy Copy datasets seltabnum Select parameter table numbers setpartabp Set parameter table
Grid names: r<NX>x<NY>, n<N>, gme<NI> cat Concatenate datasets seltabnum,tabnums infile outfile setpartabn Set parameter table
-h Help information for the operators < operator > infiles outfile < operator >,table[,convert] infile outfile
seltimestep Select timesteps
-M Indicate that the I/O streams have missing values tee Duplicate a data stream seltimestep,timesteps infile outfile setcodetab Set parameter code table
-m < missval > Set the default missing value (default: -9e+33) tee infile outfile1 outfile2 seltime Select times setcodetab,table infile outfile
-O Overwrite existing output file, if checked seltime,times infile outfile
replace Replace variables setcode Set code number
-R Convert GRIB1 data from reduced to regular grid selhour Select hours
replace infile1 infile2 outfile setcode,code infile outfile
-r Generate a relative time axis selhour,hours infile outfile setparam Set parameter identifier
-s Silent mode duplicate Duplicates a dataset selday Select days setparam,param infile outfile
-t < table > Set the parameter table name or file duplicate[,ndup] infile outfile selday,days infile outfile setname Set variable name
Predefined tables: echam4 echam5 mpiom1 selmonth Select months
mergegrid Merge grid setname,name infile outfile
-V Print the version number selmonth,months infile outfile
mergegrid infile1 infile2 outfile setunit Set variable unit
-v Print extra details for some operators selyear Select years
merge Merge datasets with different fields setunit,unit infile outfile
-z szip SZIP compression of GRIB1 records selyear,years infile outfile
mergetime Merge datasets sorted by date and time setlevel Set level
selseason Select seasons setlevel,level infile outfile
< operator > infiles outfile
selseason,seasons infile outfile setltype Set GRIB level type
splitcode Split code numbers seldate Select dates setltype,ltype infile outfile
Operators splitparam Split parameter identifiers seldate,startdate[,enddate] infile outfile
splitname Split variable names setdate Set date
Information selsmon Select single month
splitlevel Split levels setdate,date infile outfile
selsmon,month[,nts1[,nts2]] infile outfile
info Dataset information listed by parameter identifier splitgrid Split grids settime Set time of the day
sellonlatbox Select a longitude/latitude box settime,time infile outfile
infon Dataset information listed by parameter name splitzaxis Split z-axes
sellonlatbox,lon1,lon2,lat1,lat2 infile outfile setday Set day
map Dataset information and simple map splittabnum Split parameter table numbers
< operator > infiles selindexbox Select an index box setday,day infile outfile
< operator >[,params] infile obase
selindexbox,idx1,idx2,idy1,idy2 infile outfile setmon Set month
sinfo Short information listed by parameter identifier splithour Split hours
selgridcell Select grid cells setmon,month infile outfile
sinfon Short information listed by parameter name splitday Split days
delgridcell Delete grid cells setyear Set year
< operator > infiles splitseas Split seasons
< operator >,indexes infile outfile setyear,year infile outfile
diff Compare two datasets listed by parameter id splityear Split years
settunits Set time units
diffn Compare two datasets listed by parameter name splityearmon Split in years and months samplegrid Resample grid
settunits,units infile outfile
< operator > infile1 infile2 < operator > infile obase samplegrid,factor infile outfile
settaxis Set time axis
splitmon Split months
npar Number of parameters settaxis,date,time[,inc] infile outfile
splitmon[,format] infile obase
nlevel Number of levels settbounds Set time bounds
nyear Number of years splitsel Split time selection Conditional selection settbounds,frequency infile outfile
nmon Number of months splitsel,nsets[,noffset[,nskip]] infile obase setreftime Set reference time
ifthen If then setreftime,date,time[,units] infile outfile
ndate Number of dates distgrid Distribute horizontal grid ifnotthen If not then
ntime Number of timesteps distgrid,nx[,ny] infile obase setcalendar Set calendar
< operator > infile1 infile2 outfile
ngridpoints Number of gridpoints setcalendar,calendar infile outfile
ngrids Number of horizontal grids collgrid Collect horizontal grid ifthenelse If then else shifttime Shift timesteps
< operator > infile collgrid[,nx[,names]] infiles outfile ifthenelse infile1 infile2 infile3 outfile shifttime,sval infile outfile
chcode Change code number abs Absolute value Statistical values
chcode,oldcode,newcode[,...] infile outfile int Integer value hourpctl Hourly percentiles
chparam Change parameter identifier nint Nearest integer value Available statistical functions < stat >
hourpctl,p infile1 infile2 infile3 outfile
chparam,oldparam,newparam,... infile outfile pow Power minimum min
chname Change variable name sqr Square maximum max day< stat > Daily statistical values
chname,oldname,newname,... infile outfile sqrt Square root range range dayrange Daily range
exp Exponential sum sum < operator > infile outfile
chunit Change variable unit
chunit,oldunit,newunit,... infile outfile ln Natural logarithm mean mean daypctl Daily percentiles
chlevel Change level log10 Base 10 logarithm average avg daypctl,p infile1 infile2 infile3 outfile
chlevel,oldlev,newlev,... infile outfile sin Sine variance var, var1
standard deviation std, std1 mon< stat > Monthly statistical values
chlevelc Change level of one code cos Cosine
monrange Monthly range
chlevelc,code,oldlev,newlev infile outfile tan Tangent timcumsum Cumulative sum over all timesteps < operator > infile outfile
chlevelv Change level of one variable asin Arc sine timcumsum infile outfile
chlevelv,name,oldlev,newlev infile outfile acos Arc cosine monpctl Monthly percentiles
atan Arc tangent consects Consecutive Timesteps monpctl,p infile1 infile2 infile3 outfile
setgrid Set grid reci Reciprocal value < operator > infile outfile
setgrid,grid infile outfile yearmonmean Yearly mean from monthly data
not Logical NOT ens< stat > Statistical values over an ensemble yearmonmean infile outfile
setgridtype Set grid type < operator > infile outfile
setgridtype,gridtype infile outfile ensrange Ensemble range
year< stat > Yearly statistical values
addc Add a constant < operator > infiles outfile
setgridarea Set grid cell area yearrange Yearly range
setgridarea,gridarea infile outfile subc Subtract a constant enspctl Ensemble percentiles
< operator > infile outfile
mulc Multiply with a constant enspctl,p infiles outfile
setzaxis Set z-axis divc Divide by a constant yearpctl Yearly percentiles
setzaxis,zaxis infile outfile ensrkhistspace Ranked Histogram averaged over time
< operator >,c infile outfile yearpctl,p infile1 infile2 infile3 outfile
ensrkhisttime Ranked Histogram averaged over space
genlevelbounds Generate level bounds
add Add two fields ensroc Ensemble Receiver Operating characteristics seas< stat > Seasonal statistical values
genlevelbounds[,zbot[,ztop]] infile outfile
sub Subtract two fields < operator > obsfile ensfiles outfile seasrange Seasonal range
invertlat Invert latitudes mul Multiply two fields < operator > infile outfile
enscrps Ensemble CRPS and decomposition
invertlat infile outfile div Divide two fields enscrps rfile infiles outfilebase seaspctl Seasonal percentiles
invertlev Invert levels min Minimum of two fields ensbrs Ensemble Brier score seaspctl,p infile1 infile2 infile3 outfile
invertlev infile outfile max Maximum of two fields ensbrs,x rfile infiles outfilebase
atan2 Arc tangent of two fields yhour< stat > Multi-year hourly statistical values
shiftx Shift x < operator > infile1 infile2 outfile fld< stat > Statistical values over a field yhourrange Multi-year hourly range
shifty Shift y fldrange Field range < operator > infile outfile
< operator >,¡nshift¿,¡cyclic¿,¡coord¿ infile outfile monadd Add monthly time series < operator >,weights infile outfile
monsub Subtract monthly time series yday< stat > Multi-year daily statistical values
maskregion Mask regions fldpctl Field percentiles ydayrange Multi-year daily range
monmul Multiply monthly time series fldpctl,p infile outfile
maskregion,regions infile outfile mondiv Divide monthly time series < operator > infile outfile
masklonlatbox Mask a longitude/latitude box < operator > infile1 infile2 outfile zon< stat > Zonal statistical values ydaypctl Multi-year daily percentiles
masklonlatbox,lon1,lon2,lat1,lat2 infile outfile zonrange Zonal range ydaypctl,p infile1 infile2 infile3 outfile
yhouradd Add multi-year hourly time series < operator > infile outfile
maskindexbox Mask an index box yhoursub Subtract multi-year hourly time series zonpctl Zonal percentiles ymon< stat > Multi-year monthly statistical values
maskindexbox,idx1,idx2,idy1,idy2 infile outfile yhourmul Multiply multi-year hourly time series zonpctl,p infile outfile ymonrange Multi-year monthly range
setclonlatbox Set a longitude/latitude box to constant yhourdiv Divide multi-year hourly time series < operator > infile outfile
setclonlatbox,c,lon1,lon2,lat1,lat2 infile outfile < operator > infile1 infile2 outfile mer< stat > Meridional statistical values
merrange Meridional range ymonpctl Multi-year monthly percentiles
setcindexbox Set an index box to constant ydayadd Add multi-year daily time series < operator > infile outfile ymonpctl,p infile1 infile2 infile3 outfile
setcindexbox,c,idx1,idx2,idy1,idy2 infile outfile ydaysub Subtract multi-year daily time series
merpctl Meridional percentiles yseas< stat > Multi-year seasonal statistical values
enlarge Enlarge fields ydaymul Multiply multi-year daily time series
merpctl,p infile outfile yseasrange Multi-year seasonal range
enlarge,grid infile outfile ydaydiv Divide multi-year daily time series
< operator > infile1 infile2 outfile gridbox< stat > Statistical values over grid boxes < operator > infile outfile
setmissval Set a new missing value gridboxrange Gridbox range
ymonadd Add multi-year monthly time series yseaspctl Multi-year seasonal percentiles
setmissval,newmiss infile outfile < operator >,nx,ny infile outfile
ymonsub Subtract multi-year monthly time series yseaspctl,p infile1 infile2 infile3 outfile
setctomiss Set constant to missing value
ymonmul Multiply multi-year monthly time series vert< stat > Vertical statistical values ydrun< stat > Multi-year daily running statistical values
setmisstoc Set missing value to constant
ymondiv Divide multi-year monthly time series vertrange Vertical range < operator >,nts infile outfile
< operator >,c infile outfile
< operator > infile1 infile2 outfile < operator >,weights infile outfile
setrtomiss Set range to missing value ydrunpctl Multi-year daily running percentiles
setvrange Set valid range yseasadd Add multi-year seasonal time series timsel< stat > Time range statistical values ydrunpctl,p,nts infile1 infile2 infile3 outfile
< operator >,rmin,rmax infile outfile yseassub Subtract multi-year seasonal time series timselrange Time selection range
setmisstonn Set missing value to nearest neighbor yseasmul Multiply multi-year seasonal time series < operator >,nsets[,noffset[,nskip]] infile outfile
setmisstonn infile outfile yseasdiv Divide multi-year seasonal time series timselpctl Time range percentiles Correlation and co.
setmisstodis Set missing value to distance-weighted average < operator > infile1 infile2 outfile timselpctl,p,nsets[,noffset[,nskip]] infile1 infile2 infile3 outfile
setmisstodis[,neighbors] infile outfile fldcor Correlation in grid space
muldpm Multiply with days per month run< stat > Running statistical values fldcor infile1 infile2 outfile
divdpm Divide by days per month runrange Running range
muldpy Multiply with days per year timcor Correlation over time
< operator >,nts infile outfile
divdpy Divide by days per year timcor infile1 infile2 outfile
< operator > infile outfile runpctl Running percentiles
fldcovar Covariance in grid space
Arithmetic runpctl,p,nts infile outfile
fldcovar infile1 infile2 outfile
expr Evaluate expressions tim< stat > Statistical values over all timesteps
timcovar Covariance over time
expr,instr infile outfile timrange Time range
timcovar infile1 infile2 outfile
exprf Evaluate expressions script < operator > infile outfile
exprf ,filename infile outfile timpctl Time percentiles
aexpr Evaluate expressions and append results timpctl,p infile1 infile2 infile3 outfile
aexpr,instr infile outfile
Regression
aexprf Evaluate expression script and append results hour< stat > Hourly statistical values regres Regression
aexprf ,filename infile outfile hourrange Hourly range regres infile outfile
< operator > infile outfile
detrend Detrend intyear Interpolation between two years setvals Set list of old values to new values
detrend infile outfile intyear,years infile1 infile2 obase setvals,oldval,newval[,...] infile outfile
setrtoc Set range to constant
trend Trend
setrtoc,rmin,rmax,c infile outfile
trend infile outfile1 outfile2
setrtoc2 Set range to constant others to constant2
subtrend Subtract trend Transformation setrtoc2,rmin,rmax,c,c2 infile outfile
subtrend infile1 infile2 infile3 outfile sp2gp Spectral to gridpoint timsort Sort over the time
sp2gpl Spectral to gridpoint (linear) timsort infile outfile
gp2sp Gridpoint to spectral
EOFs gp2spl Gridpoint to spectral (linear) const Create a constant field
< operator > infile outfile const,const,grid outfile
eof Calculate EOFs in spatial or time space
sp2sp Spectral to spectral random Create a field with random numbers
eoftime Calculate EOFs in time space
sp2sp,trunc infile outfile random,grid[,seed] outfile
eofspatial Calculate EOFs in spatial space
topo Create a field with topography
eof3d Calculate 3-Dimensional EOFs in time space dv2uv Divergence and vorticity to U and V wind
topo[,grid] outfile
< operator >,neof infile outfile1 outfile2 dv2uvl Divergence and vorticity to U and V wind (linear)
for Create a time series
eofcoeff Calculate principal coefficients of EOFs uv2dv U and V wind to divergence and vorticity
for,start,end[,inc] outfile
eofcoeff infile1 infile2 obase uv2dvl U and V wind to divergence and vorticity (linear)
stdatm Create values for pressure and temperature for hydrostatic atmosphere
dv2ps D and V to velocity potential and stream function
stdatm,levels outfile
< operator > infile outfile
uvDestag Destaggering of u/v wind components
Interpolation uvDestag,u,v[,-/+0.5[,-/+0.5]] infile outfile
remapbil Bilinear interpolation rotuvNorth Rotate u/v wind to North pole.
genbil Generate bilinear interpolation weights
Import/Export projuvLatLon Cylindrical Equidistant projection
< operator >,grid infile outfile import binary Import binary data sets < operator >,u,v infile outfile
remapbic Bicubic interpolation import binary infile outfile rotuvb Backward rotation
genbic Generate bicubic interpolation weights rotuvb,u,v,... infile outfile
import cmsaf Import CM-SAF HDF5 files
< operator >,grid infile outfile import cmsaf infile outfile mastrfu Mass stream function
remapnn Nearest neighbor remapping mastrfu infile outfile
import amsr Import AMSR binary files
gennn Generate nearest neighbor remap weights import amsr infile outfile sealevelpressureSea level pressure
< operator >,grid infile outfile sealevelpressure infile outfile
input ASCII input
remapdis Distance-weighted average remapping input,grid[,zaxis] outfile adisit Potential temperature to in-situ temperature
remapdis,grid[,neighbors] infile outfile adisit[,pressure] infile outfile
inputsrv SERVICE ASCII input
gendis Generate distance-weighted average remap weights inputext EXTRA ASCII input adipot In-situ temperature to potential temperature
gendis,grid infile outfile < operator > outfile adipot infile outfile
remapycon First order conservative remapping output ASCII output rhopot Calculates potential density
genycon Generate 1st order conservative remap weights output infiles rhopot[,pressure] infile outfile
< operator >,grid infile outfile
outputf Formatted output
histcount Histogram count
remapcon First order conservative remapping outputf ,format[,nelem] infiles
histsum Histogram sum
gencon Generate 1st order conservative remap weights outputint Integer output histmean Histogram mean
< operator >,grid infile outfile outputsrv SERVICE ASCII output histfreq Histogram frequency
remapcon2 Second order conservative remapping outputext EXTRA ASCII output < operator >,bounds infile outfile
gencon2 Generate 2nd order conservative remap weights < operator > infiles
sethalo Set the left and right bounds of a field
< operator >,grid infile outfile outputtab Table output sethalo,lhalo,rhalo infile outfile
remaplaf Largest area fraction remapping outputtab,params infiles outfile
wct Windchill temperature
genlaf Generate largest area fraction remap weights gmtxyz GMT xyz format wct infile1 infile2 outfile
< operator >,grid infile outfile gmtcells GMT multiple segment format
remap Grid remapping < operator > infile fdns Frost days where no snow index per time period
remap,grid,weights infile outfile fdns infile1 infile2 outfile

remapeta Remap vertical hybrid level strwin Strong wind days index per time period
remapeta,vct[,oro] infile outfile Miscellaneous strwin[,v] infile outfile

ml2pl Model to pressure level interpolation gradsdes GrADS data descriptor file strbre Strong breeze days index per time period
ml2pl,plevels infile outfile gradsdes[,mapversion] infile strbre infile outfile
ml2hl Model to height level interpolation after ECHAM standard post processor strgal Strong gale days index per time period
ml2hl,hlevels infile outfile after[,vct] infiles outfile strgal infile outfile
ap2pl Air pressure to pressure level interpolation hurr Hurricane days index per time period
bandpass Bandpass filtering
ap2pl,plevels infile outfile hurr infile outfile
bandpass,fmin,fmax infile outfile
ap2hl Air pressure to height level interpolation
lowpass Lowpass filtering cmorlite CMOR lite
ap2hl,hlevels infile outfile
lowpass,fmax infile outfile cmorlite,table[,convert] infile outfile
intlevel Linear level interpolation highpass Highpass filtering
intlevel,levels infile outfile highpass,fmin infile outfile
intlevel3d Linear level interpolation onto a 3d vertical coordinategridarea Grid cell area NCL
intlevelx3d like intlevel3d but with extrapolation gridweights Grid cell weights uv2vr cfd U and V wind to relative vorticity
< operator >,icoordinate infile1 infile2 outfile < operator > infile outfile uv2dv cfd U and V wind to divergence
< operator >[,u,v,boundOpt,outMode] infile outfile
inttime Interpolation between timesteps smooth Smooth grid points
inttime,date,time[,inc] infile outfile smooth[,options] infile outfile
intntime Interpolation between timesteps smooth9 9 point smoothing
intntime,n infile outfile smooth9 infile outfile

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy