You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,14 @@ Designed for easy use as a Meson "subproject" or CMake "ExternalProject" using *
10
10
Uses Fortran 2008 `submodule` and `error stop` for clean template structure.
11
11
This easy-to-use, thin object-oriented modern Fortran library abstracts away the messy parts of HDF5 so that you can read/write various types/ranks of data with a single command.
12
12
13
-
Polymorphic API with read/write for types integer, real32, real64 with rank:
13
+
Polymorphic API with read/write for types int32, int64, real32, real64 with rank:
14
14
15
15
* scalar (0-D)
16
16
* 1-D .. 7-D
17
17
18
18
as well as character (string) variables and attributes.
19
+
Mismatched datatypes are coerced as per standard Fortran rules.
20
+
For example, reading a float HDF5 variable into an integer Fortran variable: 42.3 => 42
19
21
20
22
Tested on systems with HDF5 1.8 and 1.10 including:
21
23
@@ -26,6 +28,14 @@ Tested on systems with HDF5 1.8 and 1.10 including:
26
28
27
29
Currently, Cygwin does not have *Fortran* HDF5 libraries.
28
30
31
+
## Not yet handled
32
+
33
+
It's possible to do these things, if there is user need.
34
+
35
+
* arrays of rank > 7: this has been stubbed in reader_nd.f90, writer_nd.f90. Only the latest compilers support Fortran 2008 arrays up to rank 15.
36
+
* complex64/complex128: this is not natively handled in HDF5. Popular approaches to complex numbers in HDF5 include h5py's using an HDF5 compound datatype.
0 commit comments