Skip to content

Fortran engine to couple neural network based Mie emulator, called MieAI, with ICON-ART.

Notifications You must be signed in to change notification settings

pankajkarman/MieAI-Fortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MieAI-Fortran

Fortran engine to couple neural network based Mie emulator, called MieAI, with ICON-ART

It uses Fortran-Keras Bridge for coupling MieAI to Fortran.

Usage

Compile the MieAI model in the terminal using:

make 

This will create a static library, called libneural.a inside build/lib/ folder, which contains necessary objects for linking fortran with keras using FKB bridge and an executable, called MieAI, in bin folder which can be executed by running:

./bin/MieAI ./data/mie_input.txt 

Here, mie_input.txt cantains the input data for Mie calculations. An example file is located in data folder. Further, data folder contains the csv files containing the min-max data useful for normalization (mlp_min_max.csv) and quantile transform parameters (quantile_trasnform.csv). The path for these files and MieAI model is specified in a namelist file, called MieAI.nml, which is read by the MieAI fortran code.

File Structure

  • FKB: This directory contains source codes for Fortran-Keras bridge

  • model: This directory contains various trained MieAI models

  • data: This directory contains data to be fed to MieAI

About

Fortran engine to couple neural network based Mie emulator, called MieAI, with ICON-ART.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published