Project

General

Profile

Decadal series in CDO

Added by Shiva Shiva almost 2 years ago

hi,
I have yearly(single value for a year) data for precipitation(mm/year) from 2021-2100 and I want to get the decadal results from 2021-2030,2031-2040 onwards.
how can I approach this?


Replies (2)

RE: Decadal series in CDO - Added by Karin Meier-Fleischer almost 2 years ago

Hi Shiva,

cdo -timselmean,10 time_series_ym.nc time_series_decadal.nc

You can change the time stamp in the output file with the environment variable CDO_TIMESTAT_DATE to first, middle or last, e.g.

CDO_TIMESTAT_DATE=first cdo -timselmean,10 time_series_ym.nc time_series_decadal.nc

RE: Decadal series in CDO - Added by Shiva Shiva almost 2 years ago

Hi Karin,
Thank you . It worked

    (1-2/2)