Rescales sim$fireSense_SpreadCovariates with the fit's covariate ranges, computes the spread probability with ONE parameter set (row) of the fit, chosen by the .rep parameter (see paramSetForRep()), and writes it to sim$fireSense_SpreadPredicted. Parameter sets are not averaged.

spreadPredictRun(sim)

Arguments

sim

A simList.

Value

The simList, invisibly.

Details

With one fitted ELF (one row of sim$studyAreaWithSpreadParams) every pixel uses its parameters and its covMinMax_spread (ledgerCovMinMax(); sim$covMinMax_spread only when the row has none). With several, each ELF's model (its parameter set, its covMinMax_spread, and only the covariates it was fitted with) predicts its own pixels, from sim$rasterToMatchLargeELF, and those within ELFblendWidth of them; overlapping predictions are averaged with the weights of ELFblendWeights().