ESCOMP / ESCOMP/CAM-SIMA

Create dp_coupling-independent derived_phys routine.

Open
#153 0 comments 0 reactions 0 assignees View on GitHub
discussion enhancement
Dominant language
No language data
Stars
9
Forks
22
Avg merge
8d 5h
Merged PRs (30d)
4

Description

Currently every dycore has a `derived_phys` subroutine that calculates many physics state variables that are not automatically provided by the dycore itself for various reasons (e.g. the dycore uses dry pressure instead of moist pressure). In CAMDEN we can know ahead of time which variables will not be calculated by the dycore, and thus could call a physics routine that automatically calculates any missing state variables that physics needs, thus providing a `derived_phys` routine that is independent of the specific dycore chosen, or at least the dp_coupling layer. It could also provide a path to potentially CCPP-ize the `derived_phys` routine itself.

That being said, there are some infrastructure details that need to be worked out in order for this to occur, such as how this new `derived_phys` routine will actually know which variables need to be calculated at runtime, which in-turn may require some new auto-generated code. Thus this issue will act as a landing place for potential ideas and/or concerns that should be discussed, at least until a working prototype has been developed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.