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.
Hi Emma, > I received an error whist trying to compile netcdf4 and it asked to report to > this email. The ncdump test-suite log is as follows. The problem is use of too old a version of the HDF5 library. The current netCDF-C release requires HDF5 1.8.9 or later, and you used HDF5-1.8.4-patch1. Please upgrade your HDF5 library before building netCDF. Thanks! --Russ > netCDF 4.3.3.1: ncdump/test-suite.log > =========================================== > > # TOTAL: 40 > # PASS: 38 > # 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.4-patch1) thread 47086832635776: > #000: ../../../src/H5T.c line 1595 in H5Tcreate(): unable to create type > major: Datatype > minor: Unable to initialize object > #001: ../../../src/H5T.c line 2970 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" ; > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: IMN-483230 Department: Support netCDF Priority: Normal Status: Closed