Project

General

Profile

bug in date

Added by joao ferreira about 3 years ago

Hi,

I think there is a bug in cdo with the attached file...

The correct datetime should be:

2010-08-01 23:59:59

and instead

cdo infon is giving me:

2010-08-01 00:00:00

Any clues?

bug.nc (90.9 KB) bug.nc

Replies (4)

RE: bug in date - Added by Uwe Schulzweida about 3 years ago

This bug is already fixed in CDO release 1.9.9.

RE: bug in date - Added by joao ferreira about 3 years ago

I'm using conda and I cannot install the new cdo version with the regular command:

conda install -c conda-forge cdo

RE: bug in date - Added by joao ferreira over 2 years ago

Uwe,

cdo 1.9.10 doesn't solve the bug... I didn't try 1.9.9 because I don't believe 1.9.10 has reintroduced the bug.

I did:

cdo -shifttime,-1min -mergetime chuva.nc chuvaD+1.nc acum.nc

the resulting acum.nc is not -1 min shifted as it should...

Joao

RE: bug in date - Added by joao ferreira over 2 years ago

Sorry

Answering my own question..

This problem was solved before with nco ncap2

I just couldn't remember...

Regards

Joao

    (1-4/4)