Calculation of pad distance in LandFireLatLongBox init insufficient for large map sizes #29
Labels
bug
Something isn't working
operational
Having to do with operational data
planned
The project team will work on this issue
version:patch
Updating the patch version x.x.(x + 1)
In commit 7466bde, we introduced the
pad_distance
attribute to theLandFireLatLongBox
class. Thepad_distance
uses a fixed constant of100
to pull "extra data" from landfire to ensure that the resultingfuel.shape
is equivalent to the user providedarea.screen_size
tuple.However, this does not work when using larger map sizes, ie. there is an upper bound when using
100
where if thearea.screen_size
is above this upper bound, the resultingfuel.shape
is no longer equivalent to the providedfuel.shape
.I haven't tested this rigorously to discover the true upper bound, but I have found that setting the constant to
250
upholds the equivalent shape assumption for map sizes less than or equal to(768, 768)
.The text was updated successfully, but these errors were encountered: