Dataset iterator question

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.

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/Dataset-iterator-question-tp4025775.html
Sent from the hdf-forum mailing list archive at Nabble.com.

Have you tried using h5diff?
-Corey

···

On Jan 9, 2013, at 3:18 PM, jwm wrote:

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.

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/Dataset-iterator-question-tp4025775.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

--
Corey Bettenhausen
Science Systems and Applications, Inc
NASA Goddard Space Flight Center
301 614 5383
corey.bettenhausen@ssaihq.com

Yes, but I really want to just do a quick dataset comparison.

Ignoring the comparing issue - what's the quickest way to find the paths to
all of the datasets in a file?

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/Dataset-iterator-question-tp4025775p4025779.html
Sent from the hdf-forum mailing list archive at Nabble.com.