Skip to content

tests: compare the Farsite model with the FARSITE reference - #268

Merged
antonio-leblanc merged 3 commits into
devfrom
farsite-reference-test
Nov 10, 2026
Merged

antonio-leblanc merged 3 commits into
devfrom
farsite-reference-test

Conversation

@antonio-leblanc

@antonio-leblanc antonio-leblanc commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

First step of #265: a test only, no change in src/. It runs the 13 standard fuel models over wind, slope and moisture through pyforefire and through the reference arithmetic copied from mbedward/farsite.

  • Head ROS matches the reference to 6 digits with the same inputs: no porting bug in getSpeed.
  • Gaps on slope and at flank/back are reported, not asserted. Each one gets its own PR.

Needs a C++ compiler; not in CI on purpose, listed in TESTING.md.

farsite_reference.cpp holds FARSITE's spread rate, wind/slope vector and
ellipse, copied from mbedward/farsite. test_farsite_reference.py runs the 13
standard fuel models over wind, slope and moisture, and fails when ForeFire's
head rate of spread differs from the reference. Flank, back and the gap on a
slope are reported, not asserted.
@antonio-leblanc
antonio-leblanc merged commit 06c0860 into dev Nov 10, 2026
7 checks passed
@antonio-leblanc
antonio-leblanc deleted the farsite-reference-test branch November 11, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant