Project

General

Profile

Daily to annual mean

Added by Chiara Piazzo about 4 years ago

Dear all,

I have a large number of .nc4 files with daily data. I would like to convert the files to annual mean and then merge into a single file.

I have tried monmean and yearmonmean but having trouble looping through the files. Any help will be highly appreciated. Thank you!

Regards,

Chiara


Replies (2)

RE: Daily to annual mean - Added by Ralf Mueller about 4 years ago

hi Chiara!

In case annual mean == yearly mean I would use the yearmean operators. If your files have filenames that imply the temporal order of containing years/days, you can use -cat (meow)>

cdo -yearmean -cat 'files*nc' yearlyMeanOutput.nc

hth
ralf

RE: Daily to annual mean - Added by Chiara Piazzo about 4 years ago

Thank you, Ralf, much appreciated!

Regards,

Chiara

    (1-2/2)