ledgerWriteFile.Rd"latest" is how readers find fits, not a file: a fit goes to the file named for its own fire
years and model (fireSenseUtils::spreadFitFilenameFor()), which is then the latest one that has
this polygon. Any other spreadFitFilename is used as it is, and fitFileSuffix does not apply.
ledgerWriteFile(spreadFitFilename, fireYears, annualNames, fitFileSuffix = "")The module's spreadFitFilename parameter.
fireSense_dataPrepFit's fireYears, the window the fit used; NULL when that
module is not in the simulation.
Names of sim$fireSense_annualSpreadFitCovariates ("year2001", ...), for
the window when fireYears is not available.
The fitFileSuffix parameter, agreed with the other fit modules
(SpaDES.core::paramCheckOtherMods()).
A file name.