Skip to content

Index

  1. About Fire2a
  2. Getting help
  3. Contributing
  4. Developer setup
    1. Get latest qgis
    2. Get Cell2Fire, python libs and QGIS toolboox-plugin
    3. symlink them
    4. run

About Fire2a

We are a team dedicated to finding scientific and technological solutions to mitigate the effects of wildfires. We believe open-source collaboration is key and also providing custom consulting services for real-world organizations. Contact us

Our solutions involve the development of novel methodologies through the integration of various mathematical and technological tools. These tools include machine learning for fire ignition modeling, spatially explicit wildfire simulators, fire risk metrics, species distribution models, stochastic and multiobjective optimization, and simulation-based optimization.

Our goal is create fire-resilient landscapes while minimizing potential carbon emissions, protecting wildlife biodiversity, and ensuring the safety of human communities.

Main repos overview:

1. Cell2FireW: C++ command line WildFire simulator (forked)

2. Fire-Analytics-ToolBox: Friendly QGIS Processing Toolbox Plugin, interfacing our tools (simulation, optimization, GIS tasks and algorithm, etc.) in various ways, including easy to use clickable dialogs.

3. Algorithms-libs: Python package with algorithms and common GIS tasks.

4. Documentation: User documentation, including QGIS recipes, install & plugin management.

Getting help

Contributing

All contibutions are welcome, for effectiveness please follow:

  • Git etiquette
  • Coding style
  • Code formatting (each repo has it's own configuration... clang-format, black+friends)
  • Issues and Pull Requests minimal consistency:
    1. Check getting help before posting an issue
    2. Pull Requests must be associated to a corresponding issue that explains the motivation for the change and the expected outcome.
    3. Add a comment with an overview of the changes made
    4. One feature/bugfix per pull request
  • Scientific citations: Fire research deals with real life or death risks; If your code involves scientific models or calculations, include citations in BibText format. More info Cell2Fire-W/docs/README.md

Developer setup

  1. get QGIS
  2. get the repos
  3. symlink them
  4. run

1. Get latest qgis

sudo apt install gnupg software-properties-common
sudo mkdir -m755 -p /etc/apt/keyrings  # not needed since apt version 2.4.0 like Debian 12 and Ubuntu 22 or newer
sudo wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
# is the suite bookworm ?
echo 'Types: deb deb-src
URIs: https://qgis.org/debian
Suites: bookworm
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg' | sudo tee /etc/apt/sources.list.d/qgis.sources
sudo apt update
sudo apt install qgis qgis-plugin-grass

2. Get Cell2Fire, python libs and QGIS toolboox-plugin

# choose install location
fire=~/fire
mkdir -p $fire

# get cell2fireW
cd $fire
git clone [email protected]:fire2a/C2F-W.git C2F
sudo apt install g++-12 libboost-all-dev libeigen3-dev libtiff-dev
cd C2F/Cell2Fire
make

# get python library
cd $fire
sudo apt install python3-venv 
python3 -m venv venv --system-site-packages # needs system qgis packages
source $fire/venv/bin/activate
git clone [email protected]:fire2a/fire2a-lib.git lib
cd lib
pip install -r requirements.build.txt
pip install -r requirements.code.txt
pip install -r requirements.txt
pip install --editable .

# get toolbox
cd $fire
git clone [email protected]:fire2a/fire-analytics-qgis-processing-toolbox-plugin.git toolbox

3. symlink them

# toolbox to QGIS plugins
mkdir -p ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/
cd ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/
ln -s $fire/toolbox/fireanalyticstoolbox .

# c2f to toolbox
cd $fire/toolbox/fireanalyticstoolbox/simulator
ln -s $fire/C2F .

4. run

source $fire/venv/bin/activate
qgis
# install the toolbox plugin https://docs.qgis.org/3.4/en/docs/training_manual/qgis_plugins/fetching_plugins.html

Pinned Loading

  1. C2F-W C2F-W Public

    Joint version of Cell2Fire, beta version with S&B and Kitral

    AGS Script 5 2

  2. fire-analytics-qgis-processing-toolbox-plugin fire-analytics-qgis-processing-toolbox-plugin Public

    QGIS>Plugins>ManageAnd...>Settings>Add>URL: https://fire2a.github.io/fire-analytics-qgis-processing-toolbox-plugin/plugins.xml Search:Fire>Install Plugin

    Python 3 3

  3. fire2a-lib fire2a-lib Public

    Forked from fdobad/template-python-package

    Algorithms and tools python package

    Python 1

  4. docs docs Public

    Fire2a research group documentation

    Shell 2

Repositories

Showing 10 of 17 repositories
  • qgis-pan-europeo Public

    Proof of concept of Pan European Raster Algorithms (PERA Project)

    fire2a/qgis-pan-europeo’s past year of commit activity
    Python 1 AGPL-3.0 0 3 1 Updated Feb 27, 2025
  • C2F-W Public

    Joint version of Cell2Fire, beta version with S&B and Kitral

    fire2a/C2F-W’s past year of commit activity
    AGS Script 5 GPL-3.0 2 42 (1 issue needs help) 13 Updated Feb 27, 2025
  • fire2a/fire-analytics-qgis-processing-toolbox-plugin’s past year of commit activity
    Python 3 AGPL-3.0 3 3 4 Updated Feb 24, 2025
  • fire2a-lib Public Forked from fdobad/template-python-package

    Algorithms and tools python package

    fire2a/fire2a-lib’s past year of commit activity
    Python 0 GPL-3.0 2 0 4 Updated Feb 20, 2025
  • .github Public
    fire2a/.github’s past year of commit activity
    0 AGPL-3.0 0 0 1 Updated Feb 17, 2025
  • Geospatial-Data-Cube-Generator Public

    Google Colab notebook for processing geospatial data with Google Earth Engine. Extracts topographic, climatic, and spectral variables, reprojects, compresses, and exports data as GeoTIFFs.

    fire2a/Geospatial-Data-Cube-Generator’s past year of commit activity
    Jupyter Notebook 0 0 0 0 Updated Feb 14, 2025
  • docs Public

    Fire2a research group documentation

    fire2a/docs’s past year of commit activity
    Shell 0 2 0 5 Updated Feb 10, 2025
  • on-boarding Public
    fire2a/on-boarding’s past year of commit activity
    0 4 1 5 Updated Jan 29, 2025
  • growth Public

    A timber plantation growth simulator, with stands and management policies options.

    fire2a/growth’s past year of commit activity
    Python 0 AGPL-3.0 2 1 0 Updated Jan 2, 2025
  • fire2a/FireScar-Mapper-Plugin’s past year of commit activity
    Python 0 0 0 1 Updated Dec 31, 2024

Top languages

Loading…

Most used topics

Loading…