HDF error trying to concatenate .nc files after install on Mac
Added by John Kramer over 5 years ago
Hi! I just installed the CDO package on my Mac and am trying to concatenate multiple .nc files into one. I tried running this code:
cdo cat *.nc outfile
and it resulted in this error message:
Error (cdf_inq_dimlen): NetCDF: Invalid dimension ID or name
HDF5-DIAG: Error detected in HDF5 (1.10.5) thread 0:
#000: H5T.c line 1754 in H5Tclose(): not a datatype
major: Invalid arguments to routine
minor: Inappropriate type
Error (cdf_close): NetCDF: HDF error
Is this something anyone can help me with? Or does anyone know a better/easier way to combine multiple NetCDF files?
Thank you!
Replies (1)
RE: HDF error trying to concatenate .nc files after install on Mac - Added by Ralf Mueller over 5 years ago
hi John!
- how did you install it?
- which version, you might post what is printed py
cdo -V
- the error seem to be data-related. An upload of the files, or a single timestep of them would be helpful
cheers
ralf