This repo sources Fire2a(.com research group)'s QGIS-Processing-Toolbox plugin: "FireAnalyticsToolbox"
User tutorials are at fire2a/docs
Tutoriales para usuarios español en: fire2a/documentacion
- Install QGIS
- Install fire2a's custom plugin repo source (QGIS>Plugins>ManageAnd...>Settings>Add>URL)
- Install python requirements typing
pip install fire2a-lib
into QGIS python console (restart QGIS) - Install "Fire Analytics Toolbox" plugin
- As a window dialog on the processing toolbox interface
- As a model (designer graphic interface) component
- Via command line interface using
$ qgis_process
- Python script, either:
- on QGIS Python console
- or as a standalone script
- Check a release for directory structure (
fireanalyticstoolbox
is the plugin dir) - [Fork], Clone
- helper algorithms library fire2a-lib, install editable
pip install -e .
- if simulating fires: submodule-add C2F-W
- if placing firebreaks (knapsack algorithm) get a MIP solver (coinor-cbc, cplex or gurobi)
- helper algorithms library fire2a-lib, install editable
- [branch]
git checkout -b myfeature
- Symlink
fireanalyticstoolbox
into your qgis-plugins directory - Install "Fire Analytics Toolbox" & "Plugin Reloader" in QGIS Plugin Manager
- Done! (Do a change, reload the plugin, test, ...)
- Pull requests welcome! (coding style)
# fmt: off
# Use pdb for debugging
import pdb # isort: skip
# also import pyqtRemoveInputHook
from qgis.PyQt.QtCore import pyqtRemoveInputHook # isort: skip
# These allow you to set a breakpoint in the app
pyqtRemoveInputHook()
pdb.set_trace()
# these allow you explore with ipython
from IPython import embed
embed()
# fmt: on
Also checkout our algorithms library
- Plugin files at
fireanalyticstoolbox
directory- includes python requirements.txt
script_samples
contains standalone and qgis-console python scriptspyproject.toml
defines black coding stylerequirements.dev.txt
lists dev tools
Everyone interacting in the project's codebases, issue trackers, etc. is expected to follow the PSF Code of Conduct.