Hi all,
Is there a way to loop over object attributes using Fortran bindings?
Something akin to an iterate method, but if I know that there are natt
attributes with indeces starting at n0, incremented by 1 and a method to
retrieve attribute name by index that would be great. It seems that
h5aget_num_attrs_f<http://www.hdfgroup.org/HDF5/doc/RM/RM_H5A.html#Annot-NumAttrs>is
depricated and there is no work around as far as I can tell, there is
no
easy work around. The documentation points to H5O methods, but these have a
virtually non-existent API. If one uses
h5aget_num_attrs_f<http://www.hdfgroup.org/HDF5/doc/RM/RM_H5A.html#Annot-NumAttrs>one
needs an object id, which can be fetched by h5oopen_f, BUT there is no
h5oclose_f! Also there are no object querrying fortran bindins so one
couldn't even figure out what type of object it is on the fly and branch to
the proper close statement.

Does anyone have any suggestions here? (Other than venturing into the
unfamiliar and murky waters of mixed language programming.)
Thanks,
Izaak Beekman
===================================
(301)244-9367
Princeton University Doctoral Candidate
Mechanical and Aerospace Engineering
[email protected]

UMD-CP Visiting Graduate Student
Aerospace Engineering
[email protected]
[email protected]
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to