auto_merge_h5files
- lstchain.io.io.auto_merge_h5files(file_list, output_filename='merged.h5', nodes_keys=None, keys_to_copy=None, merge_arrays=False, filters=Filters(complevel=1, complib='blosc:zstd', shuffle=True, bitshuffle=False, fletcher32=True, least_significant_digit=None), progress_bar=True, run_checks=True)
Automatic merge of HDF5 files. A list of nodes keys can be provided to merge only these nodes. If None, all nodes are merged. It may be also used to create a new file output_filename from content stored in another file.
- Parameters:
- file_list: list of path
- output_filename: path
- nodes_keys: list of path
- keys_to_copy: list of nodes that must be copied and not merged (because the same in all files)
- merge_arrays: bool
- filters
- progress_bar: bool
Enabling the display of the progress bar during event processing.
- run_checks: bool
Check if the files to be merged are consistent