Re: [netcdfgroup] nc_inq_var_chunking segfault with hdf4 format file

I think we can fix this; it will return
an error because that is the only value
that can be returned by netcdf API functions.

Are there other netcdf operations not
available on HDF4 files? Compression, for
example?

=Dennis Heimbigner
 Unidata


David W. Pierce wrote:
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



------------------------------------------------------------------------

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



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