The calibration targets are defined in hectares (Andison fitted the shape relationship over 10–3,000 ha), but the fire model takes sizes in pixels. Specifying pixel counts directly therefore means different physical fires at every resolution: c(10, ..., 1e5) pixels is 10–100,000 ha at 100 m but 57.6–576,000 ha at 240 m. That also defeats the point of calibrating at several pixel sizes, which is to check the fitted parameters transfer across resolutions – only meaningful if the fires compared are the same physical size.

landmine_optim_fireSizes(
  pixelSize,
  areaHa = c(50, 200, 600, 1500, 3000),
  shapeRangeHa = c(10, 3000)
)

Arguments

pixelSize

Pixel resolution, in metres.

areaHa

Fire sizes, in hectares.

shapeRangeHa

Range over which the shape target is supported; a warning is issued for areas outside it, since the log10(AREA)^4 term extrapolates sharply.

Value

Integer vector of fire sizes in pixels, with areaHa and haPerPixel attributes.

Examples

landmine_optim_fireSizes(240)                      ## v3 resolution
#> [1]   9  35 104 260 521
#> attr(,"areaHa")
#> [1]   50  200  600 1500 3000
#> attr(,"haPerPixel")
#> [1] 5.76
landmine_optim_fireSizes(100)                      ## the resolution originally calibrated at
#> [1]   50  200  600 1500 3000
#> attr(,"areaHa")
#> [1]   50  200  600 1500 3000
#> attr(,"haPerPixel")
#> [1] 1