Repository navigation
Read fit ledgers with readFitLedger(), by each model's doFit - #64
Merged
Merged
Conversation
…th each model's doFit (blocked: needs polygonIDs and the source-file attribute in readFitLedger) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h model's doFit; NEWS; tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… for empty rows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eliotmcintire
added a commit
that referenced
this pull request
Dec 3, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
A run that only reuses earlier fits no longer needs its own copy of the fit records. If it has none, it reads the latest production fits.
Affects: runs where a fit module has
doFit = FALSE(or is absent) and the named fit file is missing or empty now use the latest production fits instead of finding no fits.Depends-on: PredictiveEcology/fireSenseUtils#273
Technical details
readIgnitionFitRows()read a named ledger directly, so a read-only run with no ledger of its own found no fits.fireSenseUtils::readFitLedger(). The spread read is national (domain = NULL).readIgnitionFitRows()reads all rows and keeps the run's ELFs bypolygonID. Each read gets thedoFitof its own module (fireSense_spreadFit,fireSense_ignitionFit) fromfireSenseUtils::moduleDoFit(), which gives FALSE if that module is not in the run..fitsAllowed()uses it too.polygonIDsis passed on, so "latest" still stops early. The "no pre-run SpreadFit results yet" message prints when the rows returned are empty. fireSenseUtils floor raised to 0.2.3.9200 (TODO: set to the version #273's merge is bumped to).fireSenseUtils::readFitLedger(),fireSenseUtils::moduleDoFit(); new: none.🤖 Generated with Claude Code