WildfirePy is an open-source Python library for Wildfire GIS data analysis.
Use git to grab the latest version of WildfirePy:
git clone https://github.com/wildfirepy/wildfirepy.git
Done! In order to enable WildfirePy to be imported from any location you must make sure that the library is somewhere in your PYTHONPATH environmental variable. For now the easiest thing is to install it locally by running,
pip install -e .
from the directory you just downloaded.
Here is a quick example of downloanding some burnt area information from MODIS:
>>> from wildfirepy.net.usgs import ModisBurntAreaDownloader
>>> import matplotlib.pyplot as plt
>>> dl = ModisBurntAreaDownloader()
>>> jpg_file = dl.get_jpg(year=2020, month=2, latitude=28.7041, longitude=77.1025)
>>> plt.imshow(plt.imread(jpg_file))
>>> plt.show()For more information or to ask questions about WildfirePy, check out:
- IRC: #wildfirepy on Riot
If you would like to get involved, start by joining the IRC chat room named #wildfirepy on Riot.
You may follow our LinkedIn and Twitter handle as well!
Help is always welcome so let us know what you like to work on, or check out the issues page for a list of some known outstanding items.