Allow namelist defaults to apply for phys versions greater than or less than a given version
- Dominant language
- Fortran
- Stars
- 352
- Forks
- 361
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 7
Description
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:
```xml
3
7
```
or
```xml
3
7
```
Contributor guide
Assessment
This issue has not been assessed yet.