qmi.data.dataset.read_dataset_from_hdf5
- qmi.data.dataset.read_dataset_from_hdf5(parent: File | File | Group | Group | Dataset | Variable, container: File | File | Group | Group | None = None) DataSet
Extract a QMI DataSet instance from the specified HDF5 dataset (group).
Note that this function may fetch additional HDF5 datasets from the parent HDF5 group if the dataset uses dimension scales.
- Parameters:
parent – HDF5 file/group container, or a child dataset for backwards compatibility.
container – Optional explicit parent file/group if parent is a child dataset.
- Returns:
DataSet instance.
- Return type:
dataset