Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes issue #1349
I was unable to change the head repository on PR #1350. I resubmitted here so that the snow DA updates are instead compared versus the lisf-public-7.4 branch. The previous pull request was closed, and will be deleted once this PR is complete.
The first two bugs identified by #1349 were fixed within noahmp401_snow_update.F90:
For cases when the sign (positive/negative) of dsnowh and dsneqv were opposite, dsnowh was recalculated using dsneqv and NoahMP snow density
isnow was updated to the correct number of snow layers for cases when dsneqv and dsnowh were negative. snice was also adjusted for this case, assuming that snliq was zero for all layers
The snow partitioning addition identified by #1349 will be added as a feature in a future PR
@sujayvkumar @karsenau @dmocko