R/landmine-calibration.R
landmine_optim_landscape.RdThe calibration is deliberately run on a uniform, fully-flammable square rather than a real study area, so that the fitted shape statistics are not confounded by a particular landscape's fuel pattern. It is run at several pixel sizes to confirm the parameters transfer across resolutions.
landmine_optim_landscape(
pixelSize,
n = 1000L,
file = tempfile(fileext = ".tif")
)A list with file (path), ros (the SpatRaster), and centreCell (the cell
index at the centre of the landscape, used as the ignition point).
# \donttest{
lscape <- landmine_optim_landscape(pixelSize = 240, n = 100)
terra::ncell(lscape$ros)
#> [1] 10000
# }