Who still uses the Fortran interface?


The Fortran interface in HDF4 is broken on 64-bit systems since it stores pointers in 32-bit Fortran INTEGER values. If it’s working for you on a 64-bit system, that’s an accident.

Since there’s no funding to rework the interface, I’d like to remove it so people don’t use fundamentally broken code.

Perhaps someone in the community would be interested in creating a modern Fortran replacement. We could create a GitHub issue with pertinent information should someone like to do that.



Are we talking about HDF4 or HDF5? HDF4 is in the title, but you stated HDF5?


Sorry, HDF4. Typo on my part.


More than 50 years after its debut, Fortran, the first high-level computer language, is still used every day: in Doppler radar weather forecasts or atmospheric and oceanic studies, as well as simulating nanoparticles, genomes, DNA and atomic structures.


sundot86, I think the question is different: Is anyone currently using the HDF4 Fortran interface? That’s a lot more narrow questions and doesn’t concern what the application topic is.

Many of us know that Fortran has many current uses. And https://fortran-lang.org/ has brought a lot of excitement to the language recently.

My guess is that all (or almost all) the users of HDF from Fortran long ago migrated to HDF5.