Project

General

Profile

Summing variables in multiple files

Added by Marston Ward over 9 years ago

Hi,

How can I use CDO to sum a variable in multiple netcdf file?
For example, the variable Var1 with the same dimension: (time,lev,lat,lon) is located 1500 files. I don't want to use mergetime as the time is not chronological.
I simply want to sum the variable and put the results in one file.

/M


Replies (2)

RE: Summing variables in multiple files - Added by Jaison-Thomas Ambadan over 9 years ago

try the enssum operator

RE: Summing variables in multiple files - Added by Marston Ward over 9 years ago

Hi,

Thanks! This is exactly what I wanted.

/M

    (1-2/2)