Skip to content

Couple Python and Machine Learning models with Geophysical simulation codes through OASIS

License

Notifications You must be signed in to change notification settings

meom-group/eophis

Repository files navigation

Eophis

Python Version C, Fortran, and MPI Required netcdf Required Documentation Status

Eophis is a collection of tools to ease the deployment of Python scripts (as pre-trained Machine Learning components) within Fortran/C geoscientific models through OASIS.

Also it is the currently oldest known snake ancestra (2023)

Strategy

OASIS is a parallelized Fortran coupling library that performs field exchanges between coupled executables. Last releases provided C and Python APIs, which enable coupling between non-homogeneously written codes. Basically, Eophis allows to:

  • (i) wrap an OASIS interface to exchange data with a coupled physic-based code
  • (ii) wrap inference models into a simple in/out interface
  • (iii) emulate time evolution to synchronize connexions between scripts.

Current development objectives

  • tools to write coupling info in geoscientific codes namelists
  • tools for time diagnostic
  • enhance packaging
  • add more detailed tutorial

Usage, installation and test cases

Check out corresponding sections in Eophis documentation for further informations.

Real-World cases

Those projects use Eophis:

  • Morays : Python scripts deployed in ocean models with Eophis

How to cite

DOI

Please use above DOI or Cite this repository button in the About section of the repository

Contributing

See CONTRIBUTING.md to get started.

License

Copyright © IGE-MEOM

Eophis is distributed under the MIT License.

About

Couple Python and Machine Learning models with Geophysical simulation codes through OASIS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages