NCAR / wrf_hydro_nwm_public

WRF-Hydro model code
https://ral.ucar.edu/projects/wrf_hydro
Other
181 stars 139 forks source link

Xinanjiang runoff scheme generating NaNs #645

Closed aubreyd closed 2 years ago

aubreyd commented 2 years ago

Expected Behavior

No NaNs. No negative soil moistures.

Current Behavior

Under certain soil parameter combinations, Xinanjiang runoff scheme can generate NaNs in the NoahMP model. When the top 2 soil layers have a net negative soil moisture, the Xinanjiang scheme tries to generate a root of a negative value, causing the NaNs.

Possible Solution

Correct the negative soil moistures - these are not physically realistic.

Steps to Reproduce (for bugs)

Issue exposed during NWMv3.0 long-range model calibration.

Your Environment