Project

General

Profile

Multi year mean

Added by Tufan Turp about 9 years ago

Hi,

I need any help urgently about multi year average. I have got a daily grid dataset for the period 2021-2050 in netcdf format. I want to calculate 29-yearly mean of each day. By the way, my dataset is in 360 day calendar type. So that it includes 29*360=10440 days totally as time series. But when I compute the average of each day my final output will be reduced 360 days. How can do it easily? I tried to use ydaymean and sel functions but I wanna be sure. Which one of "sel" options should I use? selday, seltime, seltimestep, or seldate? for instance: cdo sel[*],? ydaymean input.nc output.nc

This is final output that I wanna get:

Mean of 29 years 
-------------------
[1]1 Jan
[2]2 Jan
[3]3 Jan
.
.
.
.
.
[360]30 Dec

Thanks,