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.
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