The sentence you pointed out is one of the limitations of Fortran support in HDF5 *prior* to HDF5-1.8.8.
With HDF5-1.8.8 we added support for Fortran 2003, so now this is not a limitation in HDF5. (See Section
3 in that document for the Fortran 2003 features in HDF5.)
On the "Examples by API" page, there are many Fortran examples that use Fortran 2003, including an
example that reads 64-bit integers (h5ex_t_int_F03.f90):
(I attached h5ex_t_int_F03.f90 to this message.)
Please note that if you wish to use the F2003 features in HDF5, you need to have a Fortran compiler that supports
Fortran 2003, and you need to have built HDF5 with F2003 support enabled. The NewFeatures_F2003.pdf document
discusses this, as well.
For example, to build HDF5 with Fortran 2003 support on Unix you would specify these options with configure:
If you have further questions, let me know!
h5ex_t_int_F03.f90 (3.01 KB)
The HDF Helpdesk
The HDF Group
From: Hdf-forum [mailto:email@example.com] On Behalf Of Corey Bettenhausen
Sent: Thursday, November 14, 2013 11:21 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] Reading 64-bit integers from Fortran
I'm trying to read some 64-bit integer VIIRS data in HDF5 format via Fortran. After a quick search I found this document:
"For example, if an HDF5 dataset stores 64-bit integers, data cannot be read by an HDF5 Fortran application into the buffer of the appropriate type like INTEGER*8 or INTEGER(KIND=big_enough_to_store) because there is no interface provided by the HDF5 Fortran Library."
Is this still the case with version 1.8.12? I couldn't find any documentation to suggest otherwise, but wanted to confirm.
Hdf-forum is for HDF software users discussion.