ESCOMP / CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere
3 stars 11 forks source link

Allow registry to specify possible constituent variable names in IC files #255

Closed nusbaume closed 3 months ago

nusbaume commented 4 months ago

What is the feature/what would you like to discuss?

Right now all variables that are stored in the CCPP constituents object can only be read in from a file in CAM-SIMA if the file contains a variable with the exact standard name, which currently requires a separate dictionary and script to convert files with alternative variable names into standard names, which is a maintenance burden and reduces model flexibility.

An alternative to this is to utilize the ic_file_input_names tag within the CAM-SIMA registry to provide a list of possible input variable names for a given constituent standard name, which can then be implemented in the auto-generated physics_inputs.F90 file so that CAM-SIMA scans an input file for the various possible constituent variable input names, instead of just the standard name, similar to what can be done for non-constituent variables now.

Is there anyone in particular you want to be part of this conversation?

@peverwhee @mwaxmonsky @cacraigucar

Will this change (regression test) answers?

No

Will you be implementing this enhancement yourself?

Any Software Engineer can do this