Landscape inputs for Canadian forest models, built from national data, with few dependencies (terra, data.table, reproducible).
prepInputsDisturbanceYear(): the year of the last disturbance that resets stand age, from fire polygons (NFDB, NBAC) and Landsat disturbance maps (CanLaD, Pre-CanLaD, NTEMS).prepInputsFireYear(): the latest NFDB fire year per pixel.prepInputsStandAgeMap(): SCANFI or kNN stand age, reset where a disturbance is recorded (replaceAgeInFires()).inputsTable(): where each national input is downloaded from; the defaults above read it.
These were in LandR, which keeps the same names for now.
# install.packages("remotes")
remotes::install_github("PredictiveEcology/forestInputs")