Calculating seasonal means from monthly means
Added by François Roberge over 7 years ago
Hi all,
I have monthly means over multiple years. I would like to calculate the weighted seasonal means according to the number of days per month from those monthly means.
My seasons are DJF (in the same year) MAM JJA and SON.
Is there a cdo operator that I could use that would allow me to define my own seasons?
Thank you.
Replies (3)
RE: Calculating seasonal means from monthly means - Added by Karin Meier-Fleischer over 7 years ago
Hi Francoise,
to compute seasonal means from monthly means the first two month have to be skipped
cdo timselmean,3,2 ifile ofile
To define own seasons have a look at the select operator which has a season parameter
select,season=SEASON
where SEASON is a comma separated list of seasons (substring of DJFMAMJJA- SOND or ANN).
cdo select,season=JFMAM infile outfile
Bye,
Karin
RE: Calculating seasonal means from monthly means - Added by François Roberge over 7 years ago
Hi Karin,
Yes that is right.
However, by doing that way, the means are not weighted properly by the number of days in each month.
timselmean simply does the mean by the number of timesteps.
Thank you,
François
RE: Calculating seasonal means from monthly means - Added by François Roberge over 7 years ago
The operator yearmonmean does it for annual means.