/wildfirepy-prerelease

WildfirePy development for the first public release.

Primary LanguagePythonMIT LicenseMIT

WildfirePy

Python application Python Online Tests Codestyle Documentation Status

WildfirePy is an open-source Python library for Wildfire GIS data analysis.

Installation

Use git to grab the latest version of wildfirepy:

git clone https://github.com/wildfirepy/wildfirepy.git

Once the downloading is done, you will have a copy of wildfirepy locally. In order to enable wildfirepy can be imported from any location on your local machine, you must make sure that the package is somewhere in your path as set up with the PYTHONPATH environmental variable.

Then you can install it locally by running the following command:

pip install -e .

at the root of the directory you have just downloaded.

Usage

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()

Getting Help

For more information or to ask questions about WildfirePy, check out:

Contributing

If you would like to get involved, start by joining the IRC chat room named #wildfirepy on Element. You may follow our LinkedIn and Twitter handle as well!

Contribution is always welcome so do let us know what you would like to work on, and you can do so via our IRC. Alternatively, do check out our issues tracker for a list of some known outstanding items, or open new issues if you have encountered a bug, have a feature request, or got some question(s) regarding our project you would like to discuss.