Reputation: 261
I'm getting an IOerror trying to open a HDF5 file, so I should use H5dump to check the file (according to: H5PY IOError: Unable to open file (File signature not found)). However, I have no clue what to download to obtain usage of the h5dump command.
I have already downloaded and built the binary distribution for centOS (https://www.hdfgroup.org/downloads/hdf5/) but that did not help. I have found the doc pages (https://support.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Dump). Every command is meticulously described, including h5dump, but they have not included a single download link for reasons incomprehensible for my tiny brain.
I've opened the HDF5 file with the HDFViewer tool, if thats anything. How do I get h5dump
?
Upvotes: 0
Views: 6398
Reputation: 8087
On an ubuntu-flavour linux box you can type
sudo apt-get install hdf5-tools
I think on a mac you can also do
brew install hdf5
this should give you h5dump
Upvotes: 1
Reputation: 8026
The utilities are included in the gzipped tarball (hdf5-1.10.5-linux-centos7-x86_64-shared.tar.gz
) found at the link below. Look under Pre-built Binary Distributions:
Once you extract the files, you will have a bin
directory. That's where you will find h5dump
and many other utilities. Good luck.
Upvotes: 2