Skip to content

This PR fix the error in PR#1438 #1440

Closed
smileMchen wants to merge 2 commits into
MPAS-Dev:developfrom
smileMchen:initsnow_fixed
Closed

This PR fix the error in PR#1438 #1440
smileMchen wants to merge 2 commits into
MPAS-Dev:developfrom
smileMchen:initsnow_fixed

Conversation

@smileMchen
Copy link
Copy Markdown
Contributor

This PR fixes the issue in PR#1438 that all snow information, snow water equivalent(swe), snow depth(snowh), and snow cover(snowc), over land areas are removed mistakenly.

In the initialization of snow over seaice areas, we use xice as a criteria to determine whether snow should exit or not. When xice at a grid cell is smaller than a specified threshold, this grid cell is treated as a water point (swe=0, snowh=0, snowc=0)

However, xice ==0 over land. When using the above approach to determine snow, we mistakenly remove snow from land areas.

The present PR fixes the mistake and results are reasonable.

@smileMchen
Copy link
Copy Markdown
Contributor Author

@mgduda
Please take a look at the PR and let me know if you have any concerns. Thanks a lot !

@mgduda
Copy link
Copy Markdown
Contributor

mgduda commented Apr 3, 2026

@mgduda Please take a look at the PR and let me know if you have any concerns. Thanks a lot !

@smileMchen I've added the fix from this PR to set snow to zero only over water points to PR #1438. Could you check that the changes in 2075068 (currently a separate commit in PR #1438) are as you intended them?

If everything looks good for PR #1438, I'll suggest we close this PR and continue with #1438.

@smileMchen
Copy link
Copy Markdown
Contributor Author

@mgduda

Yes all looks fine in #1438. Please close this PR and continue with PR#1438. Thanks a lot !

@mgduda
Copy link
Copy Markdown
Contributor

mgduda commented Apr 3, 2026

Great -- we'll proceed with PR #1438!

@mgduda mgduda closed this Apr 3, 2026
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