Skip to content
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

HAILCAST bug fixes: tiling, non-SI units #1877

Merged
merged 4 commits into from
Jul 19, 2023

Conversation

adams-selin
Copy link
Contributor

@adams-selin adams-selin commented Jun 7, 2023

TYPE: bug fix

KEYWORDS: HAILCAST, tiling issues, undefined variables

SOURCE: Becky Adams-Selin

DESCRIPTION OF CHANGES:
Problem:
When running using tiling/quilted processes, the haildtacttime variable was being reset by every tile, thereby only activating HAILCAST to run on a single tile. Also, the RWA_new calculation can sometimes be undefined if the cloud base index is not set before the loop, and some SI/non-SI unit conversions were not handled correctly in the HEATBUD subroutine.

Solution:
The haildtacttime variable was changed to an gridded variable so could be set individually by gridpoint. Cloud base index definition added before the loop. SI/non-SI unit conversions fixed.

LIST OF MODIFIED FILES:
M Registry/Registry.EM_COMMON
M phys/module_diag_hailcast.F

TESTS CONDUCTED:

  1. Modifications fixed problem, and are currently used in operational HRRR v4.0.
  2. The Jenkins tests are all passing.

RELEASE NOTE: HAILCAST quilted processes/tiling and a few other bug fixes.

@adams-selin adams-selin requested review from a team as code owners June 7, 2023 15:42
phys/module_diag_hailcast.F Outdated Show resolved Hide resolved
phys/module_diag_hailcast.F Outdated Show resolved Hide resolved
@adams-selin adams-selin requested a review from a team as a code owner June 9, 2023 15:20
@weiwangncar weiwangncar changed the base branch from master to release-v4.5.1 June 9, 2023 16:16
@weiwangncar
Copy link
Collaborator

@adams-selin Regression tests now have passed:

Test Type              | Expected  | Received |  Failed
= = = = = = = = = = = = = = = = = = = = = = = =  = = = =
Number of Tests        : 23           24
Number of Builds       : 60           57
Number of Simulations  : 158           150        0
Number of Comparisons  : 95           86        0

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

.DS_Store Outdated Show resolved Hide resolved
phys/module_diag_hailcast.F Outdated Show resolved Hide resolved
phys/module_diag_hailcast.F Outdated Show resolved Hide resolved
phys/module_diag_hailcast.F Outdated Show resolved Hide resolved
phys/module_diag_hailcast.F Outdated Show resolved Hide resolved
phys/module_diag_hailcast.F Show resolved Hide resolved
phys/module_diag_hailcast.F Show resolved Hide resolved
phys/module_diag_hailcast.F Show resolved Hide resolved
phys/module_diag_hailcast.F Outdated Show resolved Hide resolved
@weiwangncar
Copy link
Collaborator

@islas Are you ok with this PR? Can you approve, if it is ok?

@weiwangncar weiwangncar merged commit 0eeab62 into wrf-model:release-v4.5.1 Jul 19, 2023
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
TYPE: bug fix

KEYWORDS: HAILCAST, tiling issues, undefined variables

SOURCE: Becky Adams-Selin

DESCRIPTION OF CHANGES:
Problem:
When running using tiling/quilted processes, the haildtacttime variable was being reset by every tile, thereby only activating HAILCAST to run on a single tile. Also, the RWA_new calculation can sometimes be undefined if the cloud base index is not set before the loop, and some SI/non-SI unit conversions were not handled correctly in the HEATBUD subroutine.

Solution:
The haildtacttime variable was changed to an gridded variable so could be set individually by gridpoint. Cloud base index definition added before the loop. SI/non-SI unit conversions fixed.

LIST OF MODIFIED FILES:
M Registry/Registry.EM_COMMON
M phys/module_diag_hailcast.F

TESTS CONDUCTED:
Modifications fixed problem, and are currently used in operational HRRR v4.0.
The Jenkins tests are all passing.

RELEASE NOTE: HAILCAST quilted processes/tiling and a few other bug fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants