[RegCNET] merge all hours for all variables of EIN year folder

Samy Rateb ratebsamy at yahoo.com
Tue Oct 14 11:39:35 CEST 2014


Hello RegCNET users,

I try to merge all times for all variables for EIN15 dataset as a boundary condition using cdo merge, i made cdo merge for all variables together at 00 06 12 18

cdo merge air.2008.00.nc hgt.2008.00.nc rhum.2008.00.nc uwnd.2008.00.nc vwnd.2008.00.nc gg.nc

cdo merge air.2008.06.nc hgt.2008.06.nc rhum.2008.06.nc uwnd.2008.06.nc vwnd.2008.06.nc kk.nc

cdo merge air.2008.12.nc hgt.2008.12.nc rhum.2008.12.nc uwnd.2008.12.nc vwnd.2008.12.nc ll.nc

cdo merge air.2008.18.nc hgt.2008.18.nc rhum.2008.18.nc uwnd.2008.18.nc vwnd.2008.18.nc mm.nc

but when i tried to merge all files ( gg.nc kk.nc ll.nc mm.nc) in one file for comparison with model results, the following error appeared,

cdo merge gg.nc kk.nc ll.nc mm.nc  pp.nc

cdo mergetime gg.nc kk.nc ll.nc mm.nc  pp.nc

cdo merge (Warning): Duplicate entry of parameter t in kk.nc!
cdo merge (Warning): Duplicate entry of parameter z in kk.nc!
cdo merge (Warning): Duplicate entry of parameter r in kk.nc!
cdo merge (Warning): Duplicate entry of parameter u in kk.nc!
cdo merge (Warning): Duplicate entry of parameter v in kk.nc!
cdf_put_vara_double : ncid = 327680 varid = 8 val0 = -16088.000000
cdf_put_vara_double : varname = v

Error (cdf_put_vara_double) : NetCDF: Numeric conversion not representable
HDF5-DIAG: Error detected in HDF5 (1.8.12) thread 0:
  #000: H5T.c line 1763 in H5Tclose(): not a datatype
    major: Invalid arguments to routine
    minor: Inappropriate type

Error (cdf_close) : NetCDF: HDF error


Any advice plz


More information about the RegCNET mailing list