NCAR / ccpp-framework

Common Community Physics Package (CCPP)
http://www.dtcenter.org/community-code/common-community-physics-package-ccpp/
Other
26 stars 63 forks source link

ccpp_prebuild: ccpp stub broken due to hardcoded name of ccpp_t variable #496

Closed climbfuji closed 11 months ago

climbfuji commented 11 months ago

Description

Turns out the CCPP stub in directory stub is currently broken in main, following an earlier PR.

The problem is that the ccpp_prebuild.py code uses a hardcoded name for the CCPP data (type ccpp_t) variable, which is ok as long as every host model calls this variable cdata itself - not a good and safe assumption. Parts of the code already use the actual name of the variable as it is provided by the host model, but not all do.

Steps to Reproduce

Check out ccpp-framework main and follow the directions in stub/README.md.

Additional Context

n/a

Output

n/a