export SKIP_SAME_TIME=1 is not working
Added by joao ferreira almost 6 years ago
Hi
I'm using cdo 1.9.6
I have to netcdf files: 1.nc and 2.nc
cdo infon 1.nc
-1 : Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter name
1 : 1981-02-27 03:00:00 0 16380 0 : 0.0000 46.052 120.68 : RAINNC
cdo infon 2.nc
-1 : Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter name
1 : 1981-02-27 03:00:00 0 16380 0 : 0.0000 46.037 120.82 : RAINNC
If I use:
export SKIP_SAME_TIME=1
and then:
cdo mergetime 1.nc 2.nc merge.nc
I shouldn't have:
cdo infon merge.nc
-1 : Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter name
1 : 1981-02-27 03:00:00 0 16380 0 : 0.0000 46.052 120.68 : RAINNC
2 : 1981-02-27 03:00:00 0 16380 0 : 0.0000 46.037 120.82 : RAINNC
because SKIP_SAME_TIME=1 should ignore all repetitive times and so I should have only the first line
I wonder if SKIP_SAME_TIME got broken in newer cdo versions…
Regards
Joao
Replies (3)
RE: export SKIP_SAME_TIME=1 is not working - Added by joao ferreira almost 6 years ago
Now I'm sure.
The but was introduced in cdo 1.9.6
cdo 1.9.5 respects SKIP_SAME_TIME=1
Please correct...
RE: export SKIP_SAME_TIME=1 is not working - Added by Uwe Schulzweida almost 6 years ago
That's right, the underscores were accidentally removed.
This problem is already fixed for the next CDO release.