You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We discussed this during our most recent dev-call. There are 2 feature requests:
Allow for case-insensitive yaml parameters. Right now yaml variables are ignored if they are not the exact correct key, which includes case sensitive. For example Frequency will work for a output yaml file. frequency will not. Is there functionality in EKAT for params.get<>() to treat the key as case insensitive?
Often for output yaml files a typo or unexpected behavior might not get detected until runtime, and sometimes even deep into the run, for example with monthly restarts. The example we discussed today was a parameter that wasn't being used (because it was written w/ the wrong case) which didn't pop up as a problem until deep into the run because it was a monthly output. If we had a yaml checker that could alert users to keys that are unused, for example comparing against a master list, this might avoid wasted cycles.
The text was updated successfully, but these errors were encountered:
I'm a bit reluctant to make the ParameterList class case-insensitive. But we could implement a validator routine for the main classes (atm proc and IO, for instance), so that if the input YAML contains an unrecognized parameter (due to case or misspelling), we can error out. Notice, however, that this can only be done at runtime.
We discussed this during our most recent dev-call. There are 2 feature requests:
Frequency
will work for a output yaml file.frequency
will not. Is there functionality in EKAT forparams.get<>()
to treat the key as case insensitive?The text was updated successfully, but these errors were encountered: