Would like to merge two netcdf files
Added by Ashwin D over 8 years ago
Hello,
I have two netcdf files both belonging to same time, different pressure levels of geopotential height data.
The four dimensions are time. level, lat.lon and I have five variables. I need to merge them into one file.
cdo mergetime a.nc b.nc does not work.
This is the output of one
time0=1879032 level0=1000 lat0=60 lon0=50 hgt0=53 m
time0=1879032 level0=1000 lat0=60 lon1=52.5 hgt1=55 m
time0=1879032 level0=1000 lat0=60 lon2=55 hgt2=62 m
time0=1879032 level0=1000 lat0=60 lon3=57.5 hgt3=72 m
time0=1879032 level0=1000 lat0=60 lon4=60 hgt4=84 m
and this is the output of other
time0=1879032 level0=500 lat0=60 lon0=50 hgt0=5608 m
time0=1879032 level0=500 lat0=60 lon1=52.5 hgt1=5634 m
time0=1879032 level0=500 lat0=60 lon2=55 hgt2=5659 m
time0=1879032 level0=500 lat0=60 lon3=57.5 hgt3=5678 m
time0=1879032 level0=500 lat0=60 lon4=60 hgt4=5691 m
Regards,
Ashwin.
Replies (2)
RE: Would like to merge two netcdf files - Added by Uwe Schulzweida over 8 years ago
Use the CDO operator merge for this task. mergetime is to merge different timesteps with the same variables.
RE: Would like to merge two netcdf files - Added by Ashwin D over 8 years ago
Very nice ! Thanks much !