Skip to content

Fix for lh_urb2d diagnostics#1363

Merged
weiwangncar merged 1 commit intowrf-model:release-v4.2.2from
weiwangncar:noahmp-urban-fix
Jan 13, 2021
Merged

Fix for lh_urb2d diagnostics#1363
weiwangncar merged 1 commit intowrf-model:release-v4.2.2from
weiwangncar:noahmp-urban-fix

Conversation

@weiwangncar
Copy link
Collaborator

@weiwangncar weiwangncar commented Jan 13, 2021

TYPE: bug fix

KEYWORDS: lh_urb2d, diagnostics, noahmp

SOURCE: internal (reported by Xin-Zhong Liang)

DESCRIPTION OF CHANGES:
Problem:
lh_urb2d was inconsistent with other urban budget arrays sh_urb2d, g_urb2d, and rn_urb2d by being the only one multiplied by the urban fraction making it a grid cell average instead of urban area average. This is only a diagnostic for output with using of an urban option together with NoahMP.

Solution:
Divide lh_urb2d by frc_urb2d. Won't affect model run results apart from this diagnostic. These arrays are not in default history output.

LIST OF MODIFIED FILES:
phys/module_sf_noahmpdrv.F

TESTS CONDUCTED:

  1. Yes.
  2. The Jenkins tests are all passing.

RELEASE NOTE: Fix lh_urb2d diagnostic to be urban area average instead of grid cell average consistent with other urb2d diagnostics associated with NoahMP. No effect on run results.

@weiwangncar
Copy link
Collaborator Author

Jenkins tests have all passed:
Test Type | Expected | Received | Failed
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Number of Tests : 19 18
Number of Builds : 48 46
Number of Simulations : 166 164 0
Number of Comparisons : 105 104 0

Failed Simulations are: 
None
Which comparisons are not bit-for-bit: 
None

@weiwangncar weiwangncar merged commit b317750 into wrf-model:release-v4.2.2 Jan 13, 2021
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
TYPE: bug fix

KEYWORDS: lh_urb2d, diagnostics, noahmp

SOURCE: internal (reported by Xin-Zhong Liang)

DESCRIPTION OF CHANGES:
Problem:
lh_urb2d was inconsistent with other urban budget arrays sh_urb2d, g_urb2d, and rn_urb2d by being the only one multiplied by the urban fraction making it a grid cell average instead of urban area average. This is only a diagnostic for output with using of an urban option together with NoahMP.

Solution:
Divide lh_urb2d by frc_urb2d. Won't affect model run results apart from this diagnostic. These arrays are not in default history output.

LIST OF MODIFIED FILES:
phys/module_sf_noahmpdrv.F

TESTS CONDUCTED:
Only Jenkins tests were performed.
The Jenkins tests are all passing.

RELEASE NOTE: Fix lh_urb2d diagnostic to be urban area average instead of grid cell average consistent with other urb2d diagnostics associated with NoahMP. No effect on run results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants