From 5dc135b6d419c5d8a196d6a324e2d8dd99869d52 Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Wed, 17 Aug 2022 15:37:32 -0400 Subject: [PATCH] v4.10.0 [skip ci] --- CMakeLists.txt | 2 +- Examples.md | 2 -- ford.md | 6 ++---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 14c2980..42e2313 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ endif() project(h5fortran LANGUAGES C Fortran -VERSION 4.9.0 +VERSION 4.10.0 ) include(CTest) diff --git a/Examples.md b/Examples.md index d4ee04d..b403fc5 100644 --- a/Examples.md +++ b/Examples.md @@ -93,8 +93,6 @@ call h5write_attr('myfile.h5', '/x', 'units', 'Nm^-2') ### read attributes -For attributes, HDF5 character values are *space-terminated* instead of null terminated. - ```fortran character(1024) :: attr_str integer :: attr_int(1) diff --git a/ford.md b/ford.md index 011f2f3..825dcb9 100644 --- a/ford.md +++ b/ford.md @@ -50,12 +50,10 @@ Uses Fortran `submodule` for clean template structure. 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. In distinction from other high-level HDF5 interfaces, h5fortran works to deduplicate code, using polymorphism wherever feasible and extensive test suite. -Polymorphic [API](./API.md) with read/write types int32, int64, real32, real64 with rank scalar (0-D) through 7-D -as well as **character (string)**. +Polymorphic [API](./API.md) with read/write types int32, int64, real32, real64, character with rank scalar (0-D) through 7-D. If you need int64, we have a working example for that: src/concepts/int64.f90 that can easily be put into the h5fortran API--just make a GitHub Issue. -* HDF5 **attributes** are also supported for read/write types int32, int64, real32, real64 with rank scalar (0-D) through 7-D -as well as **character (string)**. +* HDF5 **attributes** are also supported for read/write types int32, int64, real32, real64, character with rank scalar (0-D) through 7-D. * **Array slicing on read and write** is supported, that is, reading or writing part of a disk HDF5 array into a variable matching the slice shape. * Mismatched datatypes are coerced as per standard Fortran rules. For example, reading a float HDF5 variable into an integer Fortran variable: 42.3 => 42 * Zlib (deflate) compression / decompression -- h5fortran will work without Zlib, but will save/load uncompressed data only.