Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF5  1.15.0
API Reference
 
Loading...
Searching...
No Matches
Command-line Tools

Navigate back: Main / Getting Started with HDF5


Obtain Tools and Files (Optional)

Pre-built binaries for Linux and Windows are distributed within the respective HDF5 binary release packages, which can be obtained from the Download HDF5 page.

HDF5 files can be obtained from various places such as HDF5 Examples and HDF-EOS and Tools and Information Center. Specifically, the following examples are used in this tutorial topic:

Tutorial Topics

A variety of command-line tools are included in the HDF5 binary distribution. There are tools to view, edit, convert and compare HDF5 files. This tutorial discusses the tools by their functionality. It does not cover all of the HDF5 tools.

Tool Category Topic Tools Used
Command-line Tools For Viewing HDF5 Files File Content and Structure h5dump and h5ls
Datasets and Dataset Properties h5dump and h5ls
Groups h5dump and h5ls
Attributes h5dump
Dataset Subset h5dump
Datatypes h5dump
Command-line Tools For Editing HDF5 Files Remove Inaccessible Objects and Unused Space in a File h5repack
Change a Dataset's Storage Layout h5repack
Apply Compression Filter to a Dataset h5repack
Copy Objects to Another File h5copy
Add or Remove User Block from File h5jam and h5unjam
Command-line Tools For Converting HDF5 Files Output HDF5 Dataset into an ASCII File (to Import into Excel and Other Applications) h5dump
Output HDF5 Dataset into Binary File h5dump
Export from h5dump and Import into HDF5 h5dump and h5import

Navigate back: Main / Getting Started with HDF5