![]() |
HDF5 Last Updated on 2025-05-06
The HDF5 Field Guide
|
Navigate back: Main / HDF5 User Guide / Command Line Tools for HDF5 Files
With h5clear, you can clear the superblock status flag field, remove the metadata cache image, print the EOA and EOF, or set the EOA of a file. It is not a general repair tool and should not be used to fix file corruption. If a process doesn't shut down cleanly, the superblock mark can be left that prevents opening a file without SWMR. Then, h5clear can be used to remove this superblock mark so that the file can be inspected and appropriate actions can be taken.
Clear the status_flags field in the superblock of the HDF5 file <file_name>.
Remove the metadata cache image from the HDF5 file <file_name>.
Set the EOA to the maximum of (EOA, EOF) + 1M for the file <file_name>.
Set the EOA to the maximum of (EOA, EOF) + 512 for the file\<file_name>.
Previous Chapter h5stat - Next Chapter h5debug
Navigate back: Main / HDF5 User Guide / Command Line Tools for HDF5 Files