Repository navigation
Apply the year-level climate term of the ignition fit - #47
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh
eliotmcintire
added a commit
that referenced
this pull request
Nov 20, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ignitions fitted with a summer-dryness term for the whole year (fireSense_ignitionFit, separate PR) now apply it when predicting: a drier year than the fit's average raises expected ignitions, a wetter one lowers them.
Affects: predicted ignitions change only for fits that carry the new year climate term; older fits and escapes are unchanged.
Depends-on: PredictiveEcology/fireSenseUtils#253
Technical details
IgnitionPredictRun()(fireSense_ignitionPredict.R) multiplies each fit'spredsIgns[f$rows]byyearClimateMultiplierOf():fireSenseUtils::yearClimateMultiplier()of this year's plain mean of the raw column (covsHere, beforescaleAsFit) over the fit's pixels; 1 whenmodelList$yearClimateis absent. The fit used the exposure-weighted core mean; this is the plain mean over the ELF's pixels (noted in the roxygen). Escapes untouched. reqdPkgs floorfireSenseUtils@development (>= 0.2.3.9182).Reuses:
fireSenseUtils::yearClimateColumn()andyearClimateMultiplier()(#253), theyearSDOf()pattern for reading a fit's stored element; new:yearClimateMultiplierOf()(one-line wrapper that readsmodelList$yearClimateand the raw column mean; nothing existing reads it).Tests: full suite branch 120 pass, 0 fail; base 114 pass, 0 fail. The two new tests in
test-run-values.Rfail on base.Revisit when all ELFs are fitted: see the fireSense_ignitionFit PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh