Skip to content

Apply the year-level climate term of the ignition fit - #47

Merged
eliotmcintire merged 1 commit into
developmentfrom
ignitionYearClimate
Nov 20, 2026
Merged

eliotmcintire merged 1 commit into
developmentfrom
ignitionYearClimate

Conversation

@eliotmcintire

Copy link
Copy Markdown
Collaborator

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's predsIgns[f$rows] by yearClimateMultiplierOf(): fireSenseUtils::yearClimateMultiplier() of this year's plain mean of the raw column (covsHere, before scaleAsFit) over the fit's pixels; 1 when modelList$yearClimate is 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 floor fireSenseUtils@development (>= 0.2.3.9182).

Reuses: fireSenseUtils::yearClimateColumn() and yearClimateMultiplier() (#253), the yearSDOf() pattern for reading a fit's stored element; new: yearClimateMultiplierOf() (one-line wrapper that reads modelList$yearClimate and 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.R fail on base.

Revisit when all ELFs are fitted: see the fireSense_ignitionFit PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Lx3DXhXsFis2pbqBTh2PPh

@eliotmcintire eliotmcintire added the enhancement New feature or request label Nov 20, 2026
@eliotmcintire
eliotmcintire merged commit ae57fae into development Nov 20, 2026
9 checks passed
@eliotmcintire
eliotmcintire deleted the ignitionYearClimate branch November 20, 2026 05:04
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant