OASIS interface for external Python script
Context
-
Reference configuration/test case to add -
Modifications of versioned files: Fortran routines ( *.[Ffh]90
), namelists (namelist\_*cfg
) -
Additional dependencies ( OASIS_v5.0
) -
Additional Python scripts
Proposal
This branch is intended to make NEMO able to couple itself with external Python scripts through OASIS_v5.0.
Aimed benefits:
- Python-written models linking
- Testing prototypal codes with minimal NEMO modifications
- Machine Learning linking
OASIS coupling module is actually mainly encapsulated by SBC modules. Strategy is the following:
- reorganize the modules structure to make the OASIS module independent
- make it callable by any module to perform external communications with a standardized procedure, adapt SBC in accordance
- wrapp this procedure in a module dedicated to external communication
- create an adapted API (functions and/or namelist) to use the external module with flexibility
- sort new modules in a directory named 'EXT'
This should be accompagnied with updated documentation and a test case.