-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DON'T APPROVE! added model stop for ghg_input with nonsupported radiation options #1936
base: release-v4.5.2
Are you sure you want to change the base?
DON'T APPROVE! added model stop for ghg_input with nonsupported radiation options #1936
Conversation
Is this one not passing due to some regtest namelists not being consistent with the GHG switch? |
Deleted a blank line to force a reg-test
Can someone look at failed checks? |
@dudhia |
Added a blank line to trigger reg-test
Commenting out change to see if reg-test will pass
This reg-test only passed because the change was commented out. Don't approve it! |
TYPE: bug fix
KEYWORDS: ghg_input, radiation, module_check_a_mundo
SOURCE: internal
DESCRIPTION OF CHANGES:
Problem:
If a user had ghg_input turned on, but wasn't using one of the supported radiation physics options (i.e., not CAM, RRTM, RRTMG, or RRTMG_fast), the model would give an "ERROR" message, but wouldn't stop, nor would it make any changes to the settings. As long as everything else was correct, it would continue and write out the SUCCESS message at the end of the log files.
Solution:
Added a "count_fatal_error = count_fatal_error + 1" to the check for this in module_check_a_mundo.F.
LIST OF MODIFIED FILES:
M share/module_check_a_mundo.F
TESTS CONDUCTED:
Now, if non-supported radiation options are used with ghg_input, the model stops with the following message:
-- ERROR: ghg_input available only for these radiation schemes: CAM, RRTM, RRTMG, RRTMG_fast
And the LW and SW schemes must be reasonably paired together:
OK = CAM LW with CAM SW
OK = RRTM, RRTMG LW or SW, RRTMG_fast LW or SW may be mixed
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: LINE: 2794
NOTE: 1 namelist settings are wrong. Please check and reset these options
Are the Jenkins tests all passing? Waiting for results.
RELEASE NOTE: A bug fix was added to ensure the model stops when using ghg_input and a non-supported radiation physics option (i.e., anything other than CAM, RRTM, RRTMG, or RRTMG_fast).