#hdf5 #command-line #previewer #preview #content #dataset #file

app hdf5-previewer

A command line previewer for HDF5 files (WIP)

2 releases

0.0.3 Sep 23, 2024
0.0.2 Sep 23, 2024
0.0.1 Sep 23, 2024

#1315 in Command line utilities

MIT license

13KB
276 lines

HDF5 file previewer

A simple command line app to preview the contents of an HDF5 file in the terminal.

Installation and usage

cargo install hdf5-previewer
hdf5-previewer rf_sample_file_.h5

Generates:

File: rf_sample_file.h5
----------------------------------
/
├─ /rf_data | dataset
│  ├─ H5Tget_class
│  ├─ H5Tget_offset
│  ├─ H5Tget_order
│  ├─ H5Tget_precision
│  ├─ H5Tget_size
│  ├─ computer_time
│  ├─ digital_rf_time_description
│  ├─ digital_rf_version
│  ├─ epoch
│  ├─ file_cadence_millisecs
│  ├─ init_utc_timestamp
│  ├─ is_complex
│  ├─ is_continuous
│  ├─ num_subchannels
│  ├─ sample_rate_denominator
│  ├─ sample_rate_numerator
│  ├─ sequence_num
│  ├─ subdir_cadence_secs
│  └─ uuid_str
└─ /rf_data_index | dataset

More options

hdf5-previewer --help

Dependencies

~4–10MB
~124K SLoC