HDF5 copy except function
Description
This is a function to copy an HDF5 file or group except for a list of specified paths. It improves on the previous implementation by copying entire groups where possible, which should reduce the overhead where a group contains many datasets.
How Has This Been Tested?
Tested copying a single AGIPD file in a notebook with exclusions from the correction pipeline, and tested the AGIPD correction with xfel-calibrate
(output: /gpfs/exfel/data/scratch/kluyvert/agipd-calib-900201-203-copy-except
).
Types of changes
- Refactor (refactoring code with no functionality changes)
Checklist:
- My code follows the code style of this project.