sim$studyAreaWithSpreadParams is whatever ledger rows intersect the study area: neighbours' fits, this polygon's fit, or nothing at all. Its class therefore says nothing about this polygon. Deciding by class (is(x, "sf")) skipped the fit for every unfitted ELF – fireSense_dataPrepFit assigns the object whenever the ledger loads – and left fireSense_spreadPredict to die on an empty parameter set (2026-09-07, every job of the 41-ELF batch).

hasPreRunFitForThisPolygon(sim)

Arguments

sim

A simList. Uses sim$.ELFind as the polygon identity (the ledger key), falling back to sim$.runName.

Value

Logical, length one.