NOAA-GFDL / pace

Re-write of FV3GFS weather/climate model in Python
Apache License 2.0
12 stars 11 forks source link

Reorganization of fv3core analytic test cases #23

Closed fmalatino closed 11 months ago

fmalatino commented 11 months ago

Purpose

To generate a modular method for using and adding analytic test cases

Code changes:

File initialization.py, has an additional register and dataclass for initializing analytic test cases. If a user plans to run an analytic test case, the specific case will now be specified in the yaml file containing the configuration specifications. New file, analytic_init.py will select the initialization method correlated to the test case specified in the yaml file. General initialization methods for analytic test cases are now contained in init_utils.py

The files dycore_state.py and geos_wrapper.py have been moved outside of the initialization directory to the level of the pace/fv3core directory and pace/fv3core/wrappers respectively.

Requirements changes:

initialization: type: analytic config: case: baroclinic

Infrastructure changes:

Checklist

Before submitting this PR, please make sure:

Additionally, if this PR contains code authored by new contributors: