cupid-ide / cupid

Cupid IDE and Code Generation Tool for Earth System Models
Other
5 stars 6 forks source link

Create a NUOPC code out of a non-NUOPC code #3

Open rsdunlapiv opened 10 years ago

rsdunlapiv commented 10 years ago

The tool currently has limited support for converting non-NUOPC code into NUOPC-compliant code, but this is a very common requirement for those adopting NUOPC. (Also see minutes from 5/26/14 telecon.)

In general we need to support a goal-driven approach to converting existing code to NUOPC. This should complement the existing static structural model which does not provide assistance in how to work toward particular goals, e.g., create a new component, create a state, create a grid, etc.

rsdunlapiv commented 10 years ago

For training purposes, it would be nice to have a simple yet realistic non-ESMF and non-NUOPC model that could be used as an example to describe the conversion process. Cecelia suggested a shallow water model. A Google search reveals few shallow water model's in Fortran, although there is a nice Matlab code that could be converted:

http://www.met.reading.ac.uk/~swrhgnrj/shallow_water_model/

rsdunlapiv commented 9 years ago

After the NRL training, Fei also suggested a systematic approach to building up to a NUOPC model when starting from a simple code. This could be incorporated into the training materials produced.

rsdunlapiv commented 8 years ago

This may be the same as #30.