Function read_hdf5
Source pub fn read_hdf5<P: AsRef<Path>>(path: P) -> Result<Group>
Expand description
Read an HDF5 file and return the root group
§Arguments
path - Path to the HDF5 file
§Returns
The root group of the HDF5 file
§Example
use scirs2_io::hdf5::read_hdf5;
let root_group = read_hdf5("data.h5")?;
println!("Groups: {:?}", root_group.groups.keys().collect::<Vec<_>>());