Re: [netcdfgroup] HDF error, and now what?



On 07/22/2014 01:49 PM, ezaron wrote:

I've been trying to understand and/or fix a problem where occasional "HDF
Error" is reported on reads from netcdf files.

It would be quite helpful if you would include the HDF eror -- it's probably two screenfuls of nonsense but it might give an indication of what went wrong.

==rob

 The errors are sporadic (but
reproducible) and necessitate a lot of "try/catch" type of structures to
deal with the few values that are apparently corrupt. I've got to read
terabytes of many small netcdf files and performance has been a problem in
matlab, so I'm switching to fortran and hoping I can find out what the
problem is and fix the netcdf, if possible.

There is an old thread, referenced in my subject line, which mentions a
function
nf_set_log_level
but this symbol seems to be missing from my netcdf library. Since it is
undocumented, I wonder if anyone here can help.

Netcdf Information: (nc-config --all)
This netCDF 4.3.1.1 has been built with the following features:

   --cc        -> /usr/bin/clang
   --cflags    ->  -I/opt/local/include -I/opt/local/include -DNDEBUG
   --libs      -> -L/opt/local/lib -lnetcdf

   --has-c++   -> no
   --cxx       ->
   --has-c++4  -> no
   --cxx4      ->

   --fc        -> /opt/local/bin/gfortran-mp-4.8
   --fflags    -> -pipe -Os -I/opt/local/include
   --flibs     -> -L/opt/local/lib -lnetcdff -L/opt/local/lib
-Wl,-headerpad_max_install_names -lnetcdf -lnet\
cdf
   --has-f90   -> yes

   --has-dap   -> yes
   --has-nc2   -> yes
   --has-nc4   -> yes
   --has-hdf5  -> yes
   --has-hdf4  -> no
   --has-pnetcdf-> no

   --prefix    -> /opt/local
   --includedir-> /opt/local/include
   --version   -> netCDF 4.3.1.1


NB: The many files I am working with are huge enough that I am utilizing the
netcdf compression feature, which I believe are available only in netcdf 4.
If not for this, I would downgrade to netcdf 3.

-Ed




--
View this message in context: 
http://netcdf-group.1586084.n2.nabble.com/HDF-error-and-now-what-tp7575504.html
Sent from the NetCDF Group mailing list archive at Nabble.com.

_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/


--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: