QUIC-Fire-TT / ttrs_quicfire

ttrs_quicfire is a Python library to easily configure burn models for plots of land defined using shape files for the quicfire model.
MIT License
0 stars 1 forks source link

Added several methods to drawfire_PLUS_Energy for time independent display #14

Open Kcbeely opened 2 years ago

Kcbeely commented 2 years ago

Description

Added another ignition class object called ignite that reads in the data from ignite.dat. The data is then displayed on another image that shows a time independent graph. Arrows or time of ignition for each point can be added to the graph with the variable arrow_flag, line 598. There are several new methods for this plot, including label_ignitions, indexing_maximum, map_ignite and plot_ignite. All exist within a try function that catches the error if ignite.dat is not found and continues the program.

Motivation and Context

This project was assigned by Daniel Giron, allows drawfire to display a graph that is time independent, reducing the effort needed to see the beginning and end of the run.

Test Cases

Works for both atv line and aerial ignitions. Some very odd cases with aerial ignitions can have weird arrows due to the nature of trying to plot arrows from evolving points. Should work for most cases however. ATV ignitions are easier and thus had little issues with plotting.

Cheklist