Closed epn09 closed 4 months ago
Yes, it is needed in the surface driver.
@cenlinhe @tslin2 I have converted INOUT
back to IN
for FRC_URB2D and made a slight modification to initialize_real. For the new options, the output was identical.
@cenlinhe @tslin2 Happy Chinese new year. Any updates on this?
The modifications look good to me. @dudhia Are we going to include this PR to the v4.6 release or do you prefer to merge this PR for v4.6.1 minor release? Have we frozen the v4.6 release branch?
There is still time to get this in the release. We have the test phase to consider any remaining questions.
@weiwangncar @dudhia @cenlinhe Do you have any further concerns about this PR? I'll be on leave from Thursday.
Related to PR#1881.
TYPE: bug fix
KEYWORDS: anthropogenic heat, mosaic
SOURCE: Do Ngoc Khanh (Tokyo Institute of Technology)
DESCRIPTION OF CHANGES: Problem 1:
FRC_URB2D
should beIN
(notINOUT
) and removed a portion of code. See https://github.com/wrf-model/WRF/pull/1986/files#diff-4cf900c383221426961400b9c706d4a7f551833ccff64af20fef15ef6bdc0f1bL3721.UTYPE_URB
passed to urban module to become 0 when mosaic is turn on, and array index out of bound error occurs.Solution 1:
FRC_URB2D
back toINOUT
.Problem 2:
Solution 2:
This PR also removes a few unused variables in their declaration.
LIST OF MODIFIED FILES: M dyn_em/module_first_rk_step_part1.F M phys/module_pbl_driver.F M phys/module_sf_noahdrv.F M phys/module_surface_driver.F
TESTS CONDUCTED: The Jenkins tests are all passing.
RELEASE NOTE: Fix AHE option 2 and a problem with mosaic