This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> > Dear NetCDF support, Hi Kenton, This is due to using an old version HDF5 library with which to build netCDF-4. In more detail, there was a bug in HDF5-1.8.7 and earlier that we didn't test for in the corresponding netCDF version. More recent netCDF versions detect the HDF5 bug when built with HDF5-1.8.7 or earlier, but build fine with HDF5 versions 1.8.8 and later. If you have to rebuild HDF5 from source anyway, I would recommend just using the latest version 1.8.13, as that's what we're testing with now. --Russ > [kdmellow@frontend04 ncdump]$ cat test-suite.log > ========================================= > netCDF 4.3.2: ncdump/test-suite.log > ========================================= > > # TOTAL: 39 > # PASS: 37 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 2 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > FAIL: tst_h_scalar > ================== > > HDF5-DIAG: Error detected in HDF5 (1.8.5-patch1) thread 0: > #000: ../../src/H5T.c line 1597 in H5Tcreate(): unable to create type > major: Datatype > minor: Unable to initialize object > #001: ../../src/H5T.c line 2985 in H5T_create(): type class is not > appropriate - use H5Tcopy() > major: Datatype > minor: Feature is unsupported > > *** Create file with datasets & attributes that have scalar > dataspaces...Sorry! Unexpected result, tst_h_scalar.c, line: 123 > > FAIL: tst_h_scalar.sh > ===================== > > > *** Running ncdump scalar test. > 1a2,47 > > variables: > > string vstrvar1 ; > > string vstrvar1:vstratt1 = NIL ; > > string vstrvar1:vstratt2 = NIL ; > > string vstrvar1:vstratt3 = "" ; > > string vstrvar1:vstratt4 = "foo" ; > > vstrvar1:fstratt = "" ; > > vstrvar1:intatt = 0 ; > > string fstrvar ; > > string fstrvar:vstratt1 = NIL ; > > string fstrvar:vstratt2 = NIL ; > > string fstrvar:vstratt3 = "" ; > > string fstrvar:vstratt4 = "foo" ; > > fstrvar:fstratt = "" ; > > fstrvar:intatt = 0 ; > > int intvar ; > > string intvar:vstratt1 = NIL ; > > string intvar:vstratt2 = NIL ; > > string intvar:vstratt3 = "" ; > > string intvar:vstratt4 = "foo" ; > > intvar:fstratt = "" ; > > intvar:intatt = 0 ; > > string vstrvar2 ; > > string vstrvar3 ; > > string vstrvar4 ; > > > > // global attributes: > > string :vstratt1 = NIL ; > > string :vstratt2 = NIL ; > > string :vstratt3 = "" ; > > string :vstratt4 = "foo" ; > > :fstratt = "" ; > > :intatt = 0 ; > > data: > > > > vstrvar1 = NIL ; > > > > fstrvar = _ ; > > > > intvar = 0 ; > > > > vstrvar2 = NIL ; > > > > vstrvar3 = _ ; > > > > vstrvar4 = "foo" ; > > [kdmellow@frontend04 ncdump]$ > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FUG-648656 Department: Support netCDF Priority: Normal Status: Closed