R/landmine-calibration.R
landmine_optim_fireSizes.RdThe 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.
Integer vector of fire sizes in pixels, with areaHa and haPerPixel attributes.
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