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
--- a/cime_config/MOM_RPS/FType_MOM_params.py
+++ b/cime_config/MOM_RPS/FType_MOM_params.py
@@ -63,7 +63,7 @@ class FType_MOM_params(MOM_RPS):
if ("=" in line_j):
line_ss = line_j.split("=")
param_str = (line_ss[0]).strip() # the first element is the parameter name
- val_str = ' '.join(line_ss[1:]) # the rest is tha value string
+ val_str = '='.join(line_ss[1:]) # the rest is the value string
if '!' in val_str:
val_str = val_str.split("!")[0] # discard the comment in val str, if there is
The text was updated successfully, but these errors were encountered:
Any progress on this? @klindsay28 shared some user_nl_mom mods that include setting DIAG_COORD_DEF_*, so I ran into this same issue. I'm using the workaround mentioned in the initial report, but I won't commit it to my branch
If the value of a MOM parameter in MOM_input or user_nl has an '=' character in it, like
an example of https://mom6.readthedocs.io/en/dev-gfdl/api/generated/pages/Diagnostics.html#diagnostic-vertical-coordinates
_read_MOM_input
in cime_config/MOM_RPS/FType_MOM_params.py converts the '=' to ' '.The problem is that the line is split using '=', but the parameter value is joined using ' '.
The following patch fixes the problem
The text was updated successfully, but these errors were encountered: