Project

General

Profile

extract weekly data

Added by Abdoulaye SARR over 10 years ago

Hi There,

I was wondering if a routine in cdo could help extract weekly mean data from a daily netcdf file.

eus


Replies (1)

RE: extract weekly data - Added by Uwe Schulzweida over 10 years ago

Try it with timselmean (https://code.zmaw.de/embedded/cdo/1.6.1/cdo.html#x1-3240002.8.10). The parameters depend on your definition of a week and the starting day. For a daily dataset starting on Monday use:

cdo timselmean,7 ifile ofile

    (1-1/1)