sidpy.hdf.hdf_utils.link_h5_obj_as_alias¶
- sidpy.hdf.hdf_utils.link_h5_obj_as_alias(h5_main, h5_ancillary, alias_name)[source]¶
Creates Dataset attributes that contain references to other Dataset Objects. This function is useful when the reference attribute must have a reserved name. Such as linking ‘SHO_Indices’ as ‘Spectroscopic_Indices’
- Parameters:
h5_main (h5py.Dataset) – Reference to the object to which attributes will be added
h5_ancillary (h5py.Dataset) – object whose reference that can be accessed from src.attrs
alias_name (String) – Alias / alternate name for trg