sidpy.hdf.hdf_utils.copy_attributes¶
- sidpy.hdf.hdf_utils.copy_attributes(source, dest, skip_refs=True, verbose=False)[source]¶
Copy attributes from one h5object to another
- Parameters:
source (h5py.Dataset,
h5py.Group
, orh5py.File
) – Object containing the desired attributesdest (h5py.Dataset,
h5py.Group
, orh5py.File
) – Object to which the attributes need to be copied toskip_refs (bool, optional. default = True) – Whether or not the references (dataset and region) should be skipped
verbose (bool, optional. Default = False) – Whether or not to print logs for debugging