Project

General

Profile

cdo enssum : missing time in output file

Added by Suvarna Tikle over 1 year ago

Dear Team,
I have tried with the below option but in the output file 'Times' is missing. I would like to do the sum of 'E_BC' varible in both files and create new output file. Output is generated with each command but without time. Can any help me to resolve the issue?

cdo enssum -seltimestep,1 cams_9wrfchemi_d01_2019-01-03_04:00:00 replace_LE_wrfchemi_d01_2019-01-03_04:00:00 cdo_sum.nc
cdo add cams_9wrfchemi_d01_2019-01-03_04:00:00 replace_LE_wrfchemi_d01_2019-01-03_04:00:00 cdo_sum.nc
cdo enssum cams_9wrfchemi_d01_2019-01-03_04:00:00 replace_LE_wrfchemi_d01_2019-01-03_04:00:00 cdo_sum.nc

Thanks and regards,
Suvarna


Replies (7)

RE: cdo enssum : missing time in output file - Added by Suvarna Tikle over 1 year ago

Hi all,
I am still facing issue, can any one help to find out mistake in command.

Best,
Suvarna

RE: cdo enssum : missing time in output file - Added by Karin Meier-Fleischer over 1 year ago

Hi SUrvana,

without the input files from above it is not possible to understand your problem.

RE: cdo enssum : missing time in output file - Added by Karin Meier-Fleischer over 1 year ago

Suvarna Tikle wrote in RE: cdo enssum : missing time in output file :

Hi,
Sample files are enclosed.

Best regards,
Suvarna

The cams file is not the input file of the mentioned cdo steps from your first notice.

I guess that the Times variable is deleted by CDO because it is of type char that CDO can't handle as time dimension.

RE: cdo enssum : missing time in output file - Added by Suvarna Tikle over 1 year ago

Hi Karin,
Thanks. Does it mean that, it will not be possible with cdo?

Best regards,
Suvarna

RE: cdo enssum : missing time in output file - Added by Karin Meier-Fleischer over 1 year ago

You can define a CF confom time dimension with the settaxis and setreftime operators as described in the documentation or FAQ.

RE: cdo enssum : missing time in output file - Added by Suvarna Tikle over 1 year ago

Yes, thanks.
In that case, I have to do it multiple time for each time steps separately for a year.

Suvarna

    (1-7/7)