Closed jimDunn85 closed 1 year ago
Hi Jim, I'm Jean-Baptiste by the way :-)
It is Look the databroker.cpp, a kind of "abstract factory" design pattern, each accessor is a virtual method with functions that are registerer by the instantiated model runtime. Normal wind is wind normal to the front, see line 700ish in databroker. I'll be happy to know what are you plan with the code, please send me a mail at batti.filippi@gmail.com if you can. Regards
Hi Jean,
Thank you for getting back to me, I think I have a better understanding now.
Currently I'm just exploring different available fire models and seeing how they operate.
Thanks again! Jim.
Hi ForeFire,
I read through your
Rothermel.cpp
file and I was wondering if you could explain how, you got the values for these lines of code:double normal_wind = valueOf[normalWind] * 196.850394 ; //conversion m/s -> ft
anddouble localngle = valueOf[slope];
I understand that values for each pixel were retrieved form the NetCDF file for fuel, altitude, windU and windV bands, but I'm not sure how you used those values to compute the
[normalWind]
and[slope]
values above, or how you adjust these values for fire spread not directly aligned with the wind.Thanks, Jim.