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

Wind Speed Can't be zero #4

Closed zacharycope0 closed 2 years ago

zacharycope0 commented 2 years ago

Feature Description When ever we generate a wind field we need to ensure that its >0. This will be easy to implement.

Getting Started In quic_fire.inp -> WindShifts -> build_wind_field: image change temp_speed = 0 to random float between 0.01-0.1

cbonesteel commented 2 years ago

https://github.com/QUIC-Fire-TT/ttrs_quicfire/blob/48f8c46a6915781e63913fb8591b6cc1203cbe18/ttrs_quicfire/quic_fire.py#L220-L221 This should be all that is needed. Tested by setting temp_speed equal to 0 and printing the array. None were 0.

zacharycope0 commented 2 years ago

Perfect. As I was writing the issue I realized that I should have just change the line haha. Looks good feel free to merge to main.