Allow namelist defaults to apply for phys versions greater than or less than a given version #454
Labels
blocked: dependency
Wait to work on this until dependency is resolved
enhancement
new capability or improved behavior of existing capability
As we support more and more versions, I feel like we'll (at least eventually) want the ability for the namelist defaults xml file to allow us to say things like: "For CLM versions <= clm5.0, use foo = 3; for CLM versions > clm5.0, use foo = 7". Currently, we need to explicitly list the defaults for every phys version, which is going to be hard to maintain and error-prone long-term.
I feel like it will be useful for this purpose to separate the phys version into two pieces: a name and a version number. The name will be something like "clm" or "nwp" (the former for the "climate" version of CTSM, the later for the numerical weather prediction version). The version will be numeric.
I'm then imagining we could have a namelist default entry that looks like:
or
The text was updated successfully, but these errors were encountered: