How I can merge the variable of same name and same code?
Added by jyoti lodha over 6 years ago
Hi,
How can I merge the variable of same name and same code value, As I have to merge the four soil fraction(.grb file) so that it can be ingested to WRF model. I am getting following Waring, as it is merging the time steps, but I need different variables? Can it be possible.
cdo merge /ankit/soli1fraction.grb /ankit/soli2fraction.grb /ankit/soli3fraction.grb /ankit/soli4fraction.grb /ankit/near_soilev.grb
cdo merge (Warning): Duplicate entry of parameter 144 in /ankit/soli2fraction.grb!
cdo merge: Processed 4 variables over 4 timesteps [0.01s 14MB]
soli1fraction.grb (25.4 KB) soli1fraction.grb | |||
soli2fraction.grb (25.4 KB) soli2fraction.grb | |||
soli3fraction.grb (25.4 KB) soli3fraction.grb | |||
soli4fraction.grb (25.4 KB) soli4fraction.grb |
Replies (2)
RE: How I can merge the variable of same name and same code? - Added by Ralf Mueller over 6 years ago
if these codes are wrong you should change them before merging. If they are correct, you should use cat
and correct the time axis. For changing code, you can use
cdo setcode
RE: How I can merge the variable of same name and same code? - Added by jyoti lodha over 6 years ago
Thanks a lot, I did with the help of selecting different levels of the input files.