Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix for ozone input option o3input = 0 (#1755)
Bug fix for o3input=0 TYPE: bug fix KEYWORDS: RRTMG radiation, o3input=0 SOURCE: reported by Mauro Morichetti of Institute of Atmospheric Sciences and Climate (ISAC), ITALY, fixed internally DESCRIPTION OF CHANGES: Problem: The ozone input option 0 (o3input=0) has been broken since 3.5.1 after a different ozone input option was introduced in 3.5 The code checks the presence of the ozone array O33D, and if it is not present, then the ozone is computed using o3input option 0. But the array is always present, so that code never reaches the other branch. Note also that the default o3input option was changed to 2 since 3.7. Solution: This PR fixes the option by checking the ozone input option rather than the presence of the array O33D. As there is an interest to see the output from this option, code is added to pass out the data, which is based on 1-d ozone profile. LIST OF MODIFIED FILES: M phys/module_ra_rrtmg_lw.F M phys/module_ra_rrtmg_lwf.F M phys/module_ra_rrtmg_sw.F M phys/module_ra_rrtmg_swf.F TESTS CONDUCTED: 1. Do mods fix problem? Tested and it fixed the bug. 2. The Jenkins tests have passed. RELEASE NOTE: Fixed a bug associated with ozone input option o3input = 0. When o3input is set to 0, ozone is effectively not used in the RRTMG radiation option before this fix.
- Loading branch information