sidpy.hdf.hdf_utils.copy_linked_objects

sidpy.hdf.hdf_utils.copy_linked_objects(h5_source, h5_dest, verbose=False)[source]

Recursively copies datasets linked to the source h5 object to the destination h5 object that are in different HDF5 files.

This is for copying ancillary datasets to a target dataset that is missing ancillary datasets. It is not meant for copying to a Group, but that is supported. .. rubric:: Notes

We anticipate this function being used to copy over ancillary datasets

Parameters:
  • h5_source (h5py.Dataset or h5py.Group object) – Source object

  • h5_dest (h5py.Dataset or h5py.Group object) – Destination object

  • verbose (bool, optional. Default: False) – Whether or not to print logs for debugging purposes