-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove IOFILTER_READ_METADATA workaround
The IOFILTER_READ_METADATA environment variable was used to tell the I/O filter that the reader wanted to read the JSON metadata (rather than the actual dataset data). That was a workaround: we just wanted to programmatically retrieve data from the first chunk, but HDF5 lacked an API to obtain the file offset of a given chunk number. Now that HDF5 introduced H5Dget_num_chunks() and H5Dget_chunk_info() that limitation is gone and the implementation of the public method HDF5_Handler::extractUDFMetadata became much simpler.
- Loading branch information
Showing
2 changed files
with
26 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters