[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #SZV-506829]: excessive warnings when accessing HDF4 from netCDF

Hi Charlie,

> netCDF configured with --enable-logging reports many (!) of the
> warnings when NCO uses it to examine HDF4 files:
> "H5F_locate_signature(): unable to find a valid file signature"
> Is there a way to quiet this particular warning?
> It is a predictable message that could perhaps be fixed, e.g., teach
> netCDF4/HDF5 to expect that valid HDF4 signatures are unavailable.
> Or perhaps there is a way to set the verbosity of HDF logging?
> Configuring without --enable-logging eliminates the unwanted messages.
> But that would also eliminate the unpredictable and wanted messages.

If you build netCDF with --enable-logging, then put the following in
your code:


You will then get a ton of output. Trying changing the "3" to a "1" to
get less output, or to a 5 to get more.

> Something for Unidata and THG to chew-on, I suppose.

Yes, we're glad THG provided this, so we could make it available in the
netCDF C and Fortran APIs.


Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu

Ticket Details
Ticket ID: SZV-506829
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.