Project

General

Profile

cdo ensmean

Added by Camilla Weum Stjern over 9 years ago

Hi!

I am trying to calculate the ensemble mean of four realizations of an rcp4.5 run. The files contain near-surface air temperature (tas) in yearly mean values (95 years). I use the command
cdo ensmean file1.nc file2.nc file3.nc file4.nc outfile.nc
While outfile.nc has the same size as the individual ensemble member files, which I found reassuring, it only contains one time step, namely the first of the 95 years.

Should I be using some other syntax to specify that I want the ensemble mean to include all time steps?

Sincerely,
Camilla Stjern


Replies (1)

RE: cdo ensmean - Added by Uwe Schulzweida over 9 years ago

Hi Camilla,

The syntax is correct!
It is is bug if the outputfile hasn't the same number of time steps as the first input file.
In this case we need the inputfiles and the CDO version number (CDO -V) to verify this problem.
Could you reproduce this problem with only one input file:

cdo ensmean file1.nc outfile.nc
If yes, then we need only one of the inputfiles.

Cheers, Uwe

    (1-1/1)