Reclassify non-flammable pixels that become flammable - herbaceous or shrubby - vegetation

prepInputs_NTEMS_Nonforest(
  rstLCC,
  endYear = 2019,
  lccToAdjust = 33,
  nonforestLCC = c(50, 100),
  ...
)

Arguments

rstLCC

input lcc layer with bare soil class that may become vegetated

endYear

NTEMS LCC year to use for correcting transition from bare to non-forest

lccToAdjust

lcc values of the bare class

nonforestLCC

allowable lcc values for bare to become

...

non-spatial arguments passed to prepInputs e.g. destinationPath

Value

a SpatRaster with non-flammable pixels corrected if they become flammable non-forest