Encapsulation for Fortran netcdf I/O with different data type, dimension, struct data, etc.
supports:
- overload for different generic data type and ranks, including int4, int8, real4, real8, charater(*), logical, complex, and max to 7-dimensional array
- I/O with sub-array in netcdf variable, via optional arguments to specify shape_total, position and count_lens
a wrapper for allocatable array (doesn't support allocatable scalar by now)
a wrapper for pointer array (doesn't support pointer scalar as well), will not keep the =>
relationship after dump & load
usually just build it in ./cbuild.gnu
, or intel
- lib/ : will possess the
libEasyNC.a
library - include/ : will possess the
easync.mod
- bin/ :
- render-struct-io/ : possess the scripts and templates for rendering a struct I/O Fortran code
- ./src/ : source code
- EasyNC.F90 : final target source code
- prep/ : jinja2 templates and scripts to generate the final
EasyNC.F90
- ./test/ : test F90 code
built with cmake:
mkdir cbuild && cd $_
cmake ..
make
make test
# then
ls include
ls lib
ls bin