Releases: geospace-code/nc4fortran
Releases · geospace-code/nc4fortran
expand testing, enable compression, add methods
- add methods: is_chunked, is_contig, chunks
- enable compression with auto-chunking
- expand testing like h5fortran
better feature parity and testing like h5fortran
add netcdf_file methods:
- read_attribute
- write_attribute
- ndims
- flush
add functions
- nc_exist
- is_netcdf
allow variable rewrite. Numerous bugfixes
use reader, writer templates
due to the high level of code duplication across array rank (dimension), we use CMake or Meson configure_file() to simply inject this code for each dimension. This makes the program more robust. If we instead used Fortran select rank
we would still need a template, and it wasn't immediately clear there would be a benefit from this vs. the current approach.
make more robust, add properties
add properties:
- status='scratch' a file that will be deleted on close, for file-based API
- h%is_open is the file opened, this is used internally to give errors if user tries to access file before initializing or after finalizing
Make CMake build and run tests in parallel.
quality, robustness
- implicit none (type, external)
- use native CMake functionality instead of custom
add CDash, increase build robustness
v0.4.3 implicit none (external)
quiet pkg-config, correct error message text, gcc 9.3.0 dedupe
v0.4.2 remove duplicated use for gcc 9.3.0
name write(..., dims=['x','y']) parameter
v0.4.1 name dimnames dims for conveninence in write()
add %exist('/foo') method, bugfix
add verbose param and exist check bugfix api
ierr optional, add tests
Like h5fortran
, nc4fortran
ierr
parameter is now optional. If an error occurs and ierr is not present, nc4fortran will raise error stop
.
increased test coverage and modularized test coverage
reduced redundant code