Hi Ricardo, I just did a quick glance, and I noticed a few things.
(1) Have you considered passing the C address of the array arguments instead to your functions? That would simplify your interfaces and remove a lot of code duplication. Also, using the F2003 HDF5 functions instead would also help eliminate extra code. You might want to check your code with -i8 -r8 (or equiv.). (2) I would suggest using the size_t, hid_t, etc… definitions instead; those are guaranteed to be compatible with C. Looks like a good start. Scot On May 31, 2017, at 6:34 AM, Ricardo Torres <[email protected]<mailto:[email protected]>> wrote: Hello, I've been developing a set of functions and an OO library that wraps those functions in modern Fortran. It is at: https://github.com/rjgtorres/oo_hdf. It already covers a lot of use cases such as reading and writing datasets up to 6 dimensions, reading parts of datasets, extending datasets, defining scales, reading and writing attributes, counting number of attributes, counting number of objects (datasets or groups), verifying if an object is a group or a dataset. I will keep adding more features as I need them, and in a short time I will change the structure of some functions to start returning error messages. As the library is open source I'll accept any contributions and will consider your requests. I will gladly help in using or setting it up. Best regards, Ricardo Torres _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected]<mailto:[email protected]> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
