Skip to content

Releases: geospace-code/nc4fortran

Read character improvement, install and build type defaults

15 Oct 15:13
183791e
Compare
Choose a tag to compare
  • Read character automatically trims to c_null_char if present, making it cleaner / easier to read character values
  • better default install directory when using FetchContent
  • build type default release

Better FindHDF5 and compiler options

13 Oct 17:23
f41faa2
Compare
Choose a tag to compare
v1.4.3

cmake max 3.22

more robust across platforms

02 Aug 15:29
1d4071d
Compare
Choose a tag to compare
  • action= rw, w, r, r+, a for clarity

FindHDF5 more robust

BUGFIX: default dim names start with variable name

18 Jul 18:58
dea56c1
Compare
Choose a tag to compare

this avoids stomping of dims by dissimilar shaped variables when dim names are not specified.

remove open(status=) parameter, use action instead

07 Jul 21:14
777af2a
Compare
Choose a tag to compare

The h%open(..., status=) parameter is DEPRECATED and is ignored. Its functionality was duplicated by the h%open(..., action=) parameter.

As before:

  • h%open(...) defaults to action='rw', which opens or creates a file.
  • action='w' erases an existing file if present.
  • action='r+' or action='r' errors if file doesn't exist

FindHDF5 optim, note cmake >= 3.20 needed for autobuild

01 Jul 17:32
ddb5676
Compare
Choose a tag to compare
  • Note with error message that CMake >= 3.20 needed for autobuild of NetCDF (let us know if this is an issue, we could go back to CMake 3.15, with less reliability)
  • add intel compiler optimization flags
  • don't override CMAKE_INSTALL_PREFIX for nc4fortran used via CMake FetchContent

add auto-close destructor

14 Jun 04:17
7738222
Compare
Choose a tag to compare

using best principles of object-oriented programming, add a auto-closing file destructor, such that when netcdf_file leaves procedure scope, the file data is flushed and the file is closed.

correct error message when compilers ABI-compatible

07 Jun 20:40
29b2f4e
Compare
Choose a tag to compare
v1.2.6

correct ABI check error message

install robustness

07 May 20:51
007b25c
Compare
Choose a tag to compare

CMake >= 3.14 required for general robustness

install, preset improvments

29 Apr 14:09
e6ca8b0
Compare
Choose a tag to compare

also avoid externalproject constant rebuilds