-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix incorrect weighting used for permafrost pool adjustment #720
Conversation
They should only run in the main repo. Solution from https://github.com/orgs/community/discussions/26684
Don't run scheduled jobs on forks
switch to the main branch
This reverts commit 021544e.
Differences in Hector outputsHello, this is The current pull request's outputs do not differ from 3.0.0 (9aebf67). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #720 +/- ##
=======================================
Coverage 79.72% 79.72%
=======================================
Files 61 61
Lines 5978 5978
=======================================
Hits 4766 4766
Misses 1212 1212 ☔ View full report in Codecov by Sentry. |
Differences in Hector outputsHello, this is The current pull request's outputs do not differ from 3.0.0 (9aebf67). |
The
simpleNbox::stashCvalues
function was using incorrect biome weights when adjusting the permafrost pools. This resulted in extremely bad behavior when using more than a single biome.This initial PR is a straight bug fix, and should not change
main
behavior at all (because permafrost remains disabled). I'll open a second PR to evaluate the effects of turning on permafrost by default in v3.Part of #675