sidpy.hdf.hdf_utils.copy_dataset¶
- sidpy.hdf.hdf_utils.copy_dataset(h5_orig_dset, h5_dest_grp, alias=None, verbose=False)[source]¶
Copies the provided HDF5 dataset to the provided destination. This function is handy when needing to make copies of datasets to a different HDF5 file. .. rubric:: Notes
This function does NOT copy all linked objects such as ancillary datasets. Call copy_linked_objects to accomplish that goal.
- Parameters:
h5_orig_dset (h5py.Dataset)
h5_dest_grp (h5py.Group or h5py.File object :) – Destination where the duplicate dataset will be created
alias (str, optional. Default = name from h5_orig_dset:) – Name to be assigned to the copied dataset
verbose (bool, optional. Default = False) – Whether or not to print logs to assist in debugging