Open minghangli-uni opened 1 month ago
There's indeed an issue with the parser, as it uses f90nml, which will treat the input as case insensitive. I need to rewrite this, as there's no "easy" fix. It's been on my TODO list for a while, but had not time to work on it.
Specifically for
mom6_input.py
incorrectly parses them asThis pops up a conflict for a model run.
A simple fix is to remove this line for now.
mom6_input_str = re.sub(r"((?<=^)|(?<=\n))(\w+%?)", lambda pat: pat.group(2).upper(), mom6_input_str)