rex.multi_file_resource.MultiH5Path
- class MultiH5Path(h5_path, check_files=False)[source]
Bases:
MultiH5
Class to handle multiple h5 file Resources derived from a path
- Parameters:
h5_path (str) – Unix shell style pattern path with * wildcards to multi-file resource file sets. Files must have the same time index and coordinates but can have different datasets.
check_files (bool) – Check to ensure files have the same coordinates and time_index
Methods
close
()Close all h5py.File instances
Attributes
Global .h5 file attributes sourced from first .h5 file
Available datasets
.h5 files data is being sourced from
- property attrs
Global .h5 file attributes sourced from first .h5 file
- Returns:
attrs (dict) – .h5 file attributes sourced from first .h5 file
- close()
Close all h5py.File instances
- property datasets
Available datasets
- Returns:
list – List of dataset present in .h5 files
- property h5_files
.h5 files data is being sourced from
- Returns:
list – List of .h5 files data is being sourced from