Skip to content

NSSL-MP Bug/Error fixes#2348

Open
MicroTed wants to merge 1 commit into
wrf-model:developfrom
MicroTed:nssl481bugfix
Open

NSSL-MP Bug/Error fixes#2348
MicroTed wants to merge 1 commit into
wrf-model:developfrom
MicroTed:nssl481bugfix

Conversation

@MicroTed

@MicroTed MicroTed commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

TYPE: bug fix
module_mp_nssl_2mom.F:

  • Fixed error in interface that missed unit conversion for reflectivity moments, which resulted in advection errors (and units of m^6/m^3 instead of m^6/kg) Resolves issue NSSL-MP 3-moment bug in unit conversion #2344
  • Fixed reflectivity conservation in 2-moment rain->graupel freezing and graupel->hail conversion (could cause spurious large graupel/hail number concentrations)
  • Rewrote the Z-rate equation for 3-moment rain breakup to prevent possible negative reflectivities (rare).
  • Fixes an error (out of bounds) if a user selects internal option incwet=1 (default value is 0)

KEYWORDS: 5 to 10 words related to commit, separated by commas
3-moment, hail conversion, rain freezing

SOURCE: Ted Mansell (NOAA/NSSL)

DESCRIPTION OF CHANGES:
Problem 1: For 3-moment option, the reflectivity moments were not having their units converted between advection (m^6/kg) and in-scheme (m^6/m^3), resulting in advection errors and incorrect output units
Solution 1: Add missing flags in init routine to convert units

Problem 2: Spurious number concentrations from two processes
Solution 1: Rewrite reflectivity check to be more robust

ISSUE: For use when this PR closes an issue.
Fixes #2344

LIST OF MODIFIED FILES:
module_mp_nssl_2mom.F

TESTS CONDUCTED:
Jenkins tests passed

RELEASE NOTE: NSSL Microphysics: Fixes a bug in the 3-moment option that caused advection errors; Fixes a reflectivity check in the drop freezing and hail conversion processes that caused too many graupel/hail particles to be produced (both 2/3-moment).

 Bug/Error fixes:
  - 3-moment unit error and conversion corrections (drops->graupel and graupel->hail)
     that could cause unrealistic large number concentrations of graupel and excessive
     hail concentrations
  - 3-moment consistency checks made more consistent with each other
  - 3-moment rain breakup rate rewritten for reflectivity moment to prevent negative values
  - Missing lookup table entry for new dry/wet growth (off by default: incwet=0)
@MicroTed MicroTed marked this pull request as ready for review June 8, 2026 02:00
@MicroTed MicroTed requested a review from a team as a code owner June 8, 2026 02:00
@dudhia

dudhia commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

After V4.8 is released, we should open a v4.8.1 release branch where this can be targeted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants