Project

General

Profile

order operators with CDO?

Added by sari mechal over 7 years ago

I can not find anywhere about the order of operators with CDO
example:
cdo mulc,50 -timstd -selyear,1900/1950 fil1.nc filout.nc

I do not not know which is being done first mulc,50 or -timstd?

How to force CDO with a desired order?


Replies (1)

RE: order operators with CDO? - Added by Ralf Mueller over 7 years ago

operators are executed from right to left and can be seen like functions, where the data file in the input to these functions: a(b(c(input))). In yor example, it is like

filout.nc = mulc(50,timstd(selyear(1900/1950,fil1.nc)))

hth
ralf

    (1-1/1)