[netcdfgroup] nc_inq_var_chunking segfault with hdf4 format file

Hi all,

Using netcdf version 4.3.0, the library segfaults if a hdf4 format file is
passed to the nc_inq_var_chunking routine.

It would be nice to be able to avoid this. Two solutions spring to mind:

1) Could the nc_inq_var_chunking routine be changed so that it simply
reports that any variable in a hdf4 format file is not chunked? Or, perhaps
not as good but still serviceable, return an error code in this event?

2) Barring that, is there any way for user code to find out if the library
is accessing a hdf4 format file, so that the user code can avoid the call
to nc_inq_var_chunking in the first place?

Regards,

--Dave

-- 
David W. Pierce
Division of Climate, Atmospheric Science, and Physical Oceanography
Scripps Institution of Oceanography, La Jolla, California, USA
(858) 534-8276 (voice)  /  (858) 534-8561 (fax)    dpierce@xxxxxxxx
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: