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
There are a number of log_param() calls, mostly for derived parameters, never log these parameters anywhere by default. Subroutine log_param_*() only writes parameters to MOM_parameter_doc when description is given. Without descriptions, log_param() calls log parameters, along with all the other parameters, to stdout, but only when SEND_LOG_TO_STDOUT is True (default false).
I think it makes sense to ignore the derived parameters in MOM_parameter_doc, and I suspect this behavior is by design. I wonder if it would of any benefits to make this less opaque, maybe by simply editing the description of SEND_LOG_TO_STDOUT? Or adding another MOM_parameter_doc file for derived parameters?
There are a number of
log_param
() calls, mostly for derived parameters, never log these parameters anywhere by default. Subroutinelog_param_*
() only writes parameters toMOM_parameter_doc
when description is given. Without descriptions,log_param
() calls log parameters, along with all the other parameters, to stdout, but only whenSEND_LOG_TO_STDOUT
is True (default false).I think it makes sense to ignore the derived parameters in
MOM_parameter_doc
, and I suspect this behavior is by design. I wonder if it would of any benefits to make this less opaque, maybe by simply editing the description ofSEND_LOG_TO_STDOUT
? Or adding anotherMOM_parameter_doc
file for derived parameters?A few examples:
MOM6/src/core/MOM_PressureForce_FV.F90
Line 1030 in d90ff6b
MOM6/src/core/MOM_verticalGrid.F90
Lines 234 to 236 in d90ff6b
MOM6/src/core/MOM_barotropic.F90
Lines 4916 to 4917 in d90ff6b
The text was updated successfully, but these errors were encountered: