Project

General

Profile

"Can't add HDF5 file metadata"

Added by Bridget Thrasher almost 11 years ago

I am receiving the following when using yearmonmean in version 1.6.0:

Error (cdf_create) : Can't add HDF5 file metadata
cdf_create : ncid = -1 mode = 4352 file = ann_avg/1pctCO2/GISS-E2-R/prsn_Amon_GISS-E2-R_1pctCO2_r1i1p2_197601-200012.nc
cdf_create : chunksizehint 0

Does anyone know what this is about?


Replies (3)

RE: "Can't add HDF5 file metadata" - Added by Jaison-Thomas Ambadan almost 11 years ago

It may be helpful if you could upload:

a) your input file (must be < 50MB or a link to download the file)
b) the command sequence that you've used
c) the output of "cdo -V"

Cheers,
J

RE: "Can't add HDF5 file metadata" - Added by Bridget Thrasher almost 11 years ago

Actually, I just discovered that the command works fine alone. It's when I call it inside an NCL script that I get the error. I will check with their support team.

RE: "Can't add HDF5 file metadata" - Added by Katrien Descheemaeker almost 11 years ago

I get the same error message when trying to select data based on lat lon coordinates and writing them in a new output file.

I run cdo with MacPorts, and suspect the problem has to do with a conflict between hdf5 and hdf5-18.

I tried installing the hdf5 port with "sudo port install hdf5"
but get following "Error: Unable to execute port: Can't install hdf5 because conflicting ports are installed: hdf5-18"

then I tried deactivating hdf5-18, but can't because the netcdf port depends on it.

Can someone help out?
thanks!
cheers
Katrien

this is the info I get when running cdo -V
Climate Data Operators version 1.6.1 (http://code.zmaw.de/projects/cdo)
Compiler: /usr/bin/clang -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread
version: clang: error: argument to '-V' is missing (expected 1 value)
Compiled: by root on Katriens-MacBook-Pro.local (x86_64-apple-darwin11.4.2) Jul 25 2013 12:15:56
with: PTHREADS NC4 OPeNDAP Z UDUNITS2 PROJ.4
filetype: srv ext ieg grb nc nc2 nc4 nc4c
CDI library version : 1.6.1 of Jul 25 2013 12:15:52
CGRIBEX library version : 1.6.1 of Jun 27 2013 15:38:33
netCDF library version : 4.2.1.1 of Feb 18 2013 08:12:02 $
HDF5 library version : 1.8.10
SERVICE library version : 1.3.1 of Jul 25 2013 12:15:51
EXTRA library version : 1.3.1 of Jul 25 2013 12:15:50
IEG library version : 1.3.1 of Jul 25 2013 12:15:51
FILE library version : 1.8.2 of Jul 25 2013 12:15:50

and an overview of ports:
The following ports are currently installed:
autoconf @2.69_1 (active)
automake @1.14_0 (active)
cdo @1.6.1_0 (active)
curl @7.31.0_0+ssl (active)
curl-ca-bundle @7.31.0_0 (active)
expat @2.1.0_0 (active)
gdbm @1.10_2 (active)
gettext @0.18.3_0 (active)
hdf5-18 @1.8.10_1+cxx (active)
libiconv @1.14_0 (active)
libidn @1.26_0 (active)
libtool @2.4.2_3 (active)
m4 @1.4.16_0 (active)
ncurses @5.9_2 (active)
netcdf @4.2.1.1_2+dap+netcdf4 (active)
openssl @1.0.1e_1 (active)
perl5 @5.12.4_0+perl5_12 (active)
perl5.12 @5.12.4_2 (active)
proj47 @4.7.0_0 (active)
udunits2 @2.1.24_0 (active)
zlib @1.2.8_0 (active)

    (1-3/3)