I’m trying to create a function that compares all data sets between two
different HDF5 files. What is the quickest way to access all of the data
sets in a file? I originally was using H5Gget_objname_by_idx to get the
group names and then pulling out data sets from there, but some of the files
have sub-groups that aren’t iteratively picked up. I need a way to find
paths to all of the data sets, regardless of hierarchy.
I understand that HDF5 provides a function to compare two files (h5diff),
but I’d rather keep it simple and compare data sets directly. Thanks.
I’m trying to create a function that compares all data sets between two
different HDF5 files. What is the quickest way to access all of the data
sets in a file? I originally was using H5Gget_objname_by_idx to get the
group names and then pulling out data sets from there, but some of the files
have sub-groups that aren’t iteratively picked up. I need a way to find
paths to all of the data sets, regardless of hierarchy.
I understand that HDF5 provides a function to compare two files (h5diff),
but I’d rather keep it simple and compare data sets directly. Thanks.