Project

General

Profile

Using monsum to get total over three months

Added by Jessica Steinkopf almost 3 years ago

Hi All

I am trying to calculate the total precipitation over three months (DJF) and then take the average of these totals over a set time period (i.e. the average of DJF 1982 total, DJF 1983 total, etc.). Can anyone tell me if the monsum operator does sum the months together?

Here is what I think is correct:
cdo timmean -monsum -selyear,1982/2020 -selmon,12,1,2 -shifttime,-1mo infile outfile

The time shift is because DJF run over two years.
The infile is a netcdf containing monthly precipitation totals for Africa (from CRU).

Thanks
Jessica


Replies (1)

RE: Using monsum to get total over three months - Added by Karin Meier-Fleischer almost 3 years ago

Hi Jessica,

the operator seassum (https://code.mpimet.mpg.de/projects/cdo/embedded/cdo.pdf#subsection.2.8.27) computes the sum for each given season (e.g. DJF) and not the sum of each single month.

-Karin

    (1-1/1)