sidpy.hdf.hdf_utils.validate_h5_objs_in_same_h5_file¶
- sidpy.hdf.hdf_utils.validate_h5_objs_in_same_h5_file(h5_src, h5_other)[source]¶
Checks if the provided objects are in the same HDF5 file. If not, it throws a ValueError
- Parameters:
h5_src (h5py.Dataset, h5py.File, or h5py.Group object) – First object to compare
h5_other (h5py.Dataset, h5py.File, or h5py.Group object) – Second object to compare