cdo mergetime, switch variables values
Added by Walter Lee almost 6 years ago
I have files with the following variables monthly tasmin tasmax and pr value for each year with relative time axis:
cdo showname anusplin.2001.mon.nc
tasmin tasmax pr
cdo showname: Processed 3 variables ( 0.03s )
Some files' variable order is different:
tasmax tasmin pr
When I used "cdo mergetime" to merge the files, they were successfully merged with correct time axis. However, I found in the merged file the data in the years with different variable order, the values for tasmin and tasmax were switched.
However, ncrcat produces the correct merging result.
Is this a bug or intended effect.
Replies (1)
RE: cdo mergetime, switch variables values - Added by Karin Meier-Fleischer almost 6 years ago
Hi Walter,
try selecting the variables explicitly with -selvar,tasmin,tasmax,pr. This should write the variables in the same order.
-Karin