Project

General

Profile

cdo monmean 12 or 13 timesteps per year

Added by Tung Do Thanh over 10 years ago

I want to calculate the monthly mean for each year, however, when I have daily data for one year, I used cdo monmean to get the monthly mean, but I got 13 timesteps instead of 12 tmiesteps, Is here anyone can give some advice?

Thanks,

Ping


Replies (2)

RE: cdo monmean 12 or 13 timesteps per year - Added by Uwe Schulzweida over 10 years ago

I guess the last time step is midnight of the last day of year. If the time of this time step is 24:00 then it will be assigned to 00:00 of the first day of the next year. In this case you can use shifttime,-1sec to shift the time axis by -1 second:

cdo monmean -shifttime,-1sec ifile ofile

    (1-2/2)