Giter Site home page Giter Site logo

roadelse / easync Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 253 KB

Encapsulation for Fortran netcdf I/O with different data type, dimension, struct data, etc.

License: MIT License

Fortran 79.65% C++ 17.74% Shell 0.16% Makefile 0.02% CMake 0.57% Python 1.66% Jupyter Notebook 0.20%

easync's Introduction

EasyNC

Encapsulation for Fortran netcdf I/O with different data type, dimension, struct data, etc.

Interfaces

easyO & easyI

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

easyOA & easyIA

a wrapper for allocatable array (doesn't support allocatable scalar by now)

easyOP & easyIP

a wrapper for pointer array (doesn't support pointer scalar as well), will not keep the => relationship after dump & load

build

usually just build it in ./cbuild.gnu, or intel

structure

  • 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

source

  • ./src/ : source code
    • EasyNC.F90 : final target source code
    • prep/ : jinja2 templates and scripts to generate the final EasyNC.F90
  • ./test/ : test F90 code

How-to-use

built with cmake:

mkdir cbuild && cd $_
cmake ..
make
make test
# then
ls include
ls lib
ls bin

easync's People

Contributors

roadelse avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.