Project

General

Profile

How to calculate seasonal mean from multiple nc files

Added by Krishnakumar AP almost 7 years ago

Hi, I have multiple nc files of era interim ozone data, which is six hr data for each year.
So how to get seasonal mean from these nc files. Please help me and thanks in advance.


Replies (1)

RE: How to calculate seasonal mean from multiple nc files - Added by Karin Meier-Fleischer over 6 years ago

Hi,

to compute the seasonal mean have a look at the operator seasmean in the documentation.

To compute seasonal mean of one file:

   cdo -f nc -seasmean infile.nc  seasmean.nc

To compute the seasonal mean from multiple file where e.g. the data is stored in yearly files:

   cdo -f nc -seasmean -cat 'year_*.nc' all_seasonal_means.nc

-Karin

    (1-1/1)