ForeFire
An open-source code for wildland fire spread models.
https://github.com/forefireapi/firefront
Category: Biosphere
Sub Category: Wildfire
Keywords
cpp python
Last synced: about 18 hours ago
JSON representation
Repository metadata
ForeFire is an open-source code for wildland fire spread models
- Host: GitHub
- URL: https://github.com/forefireapi/firefront
- Owner: forefireAPI
- License: gpl-2.0
- Created: 2014-02-27T13:34:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-04-25T03:29:26.000Z (3 days ago)
- Last Synced: 2025-04-25T03:34:34.839Z (3 days ago)
- Topics: cpp, python
- Language: C++
- Homepage:
- Size: 9.25 MB
- Stars: 41
- Watchers: 5
- Forks: 24
- Open Issues: 2
- Releases: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
ForeFire
Refer to the Wiki for a more detailed guide on using ForeFire.
ForeFire is an open-source code for wildland fire spread models, developed and maintained by Université de Corse Pascal Paoli.
Access the demo simulator here.
It has been designed and runs on Unix systems. Three modules can be built with the source code.
The main binaries are
- An interpreter (executable)
- A shared library (with C/C++/Java and Fortran bindings)
1. Requirements
The requirements and ForeFire can be installed by running install-forefire.sh
(Ubuntu or Debian distributions)
cd forefire
sudo sh install-forefire.sh
The program will be built in: ./bin/forefire
OR run the commands:
apt-get update
apt install build-essential -y
apt install libnetcdf-c++4-dev -y
apt install cmake -y
To install
- The C++ compiler
- NetCDF Library and NetCDF-C++
- Cmake build tool
2. Build
2.1 Cmake
To build with cmake run the script
sh cmake-build.sh
To make the program executable from eveywhere (during the session) Add the bin folder to path
export PATH=$PATH:`pwd`/bin
If you want to change it permanently, paste
export PATH="</path/to/file>:$PATH"
at the end of your ~/.bashrc
file. The file can be edited with
nano ~/.bashrc
for example
export PATH="/mnt/c/gitrepos/forefire/bin:$PATH"
2.2 Scons and Other build systems
More information on other build systems are available here
3. Running an example
An example for the region of aullene in south France is provided. The example contains 3 files
- fuels.ff
- aullene.ff
- landscape.nc:
Run the example with
cd firefront/examples/aullene/
../../bin/forefire -i aullene.ff
The simulation result will be outputed in JSON format
4. Running with python
Go and check pyForeFire
It may be included directly in this repo in futire releases
5. Building with Docker
A sample Dockerfile can allow to build a Docker image with
docker build . -t forefire
To run this image and interactively acces the continer use
docker run -it forefire bash
Owner metadata
- Name: forefireAPI
- Login: forefireAPI
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/6805132?v=4
- Repositories: 1
- Last ynced at: 2023-08-16T07:20:30.677Z
- Profile URL: https://github.com/forefireAPI
GitHub Events
Total
- Create event: 25
- Commit comment event: 1
- Issues event: 9
- Watch event: 5
- Delete event: 28
- Issue comment event: 16
- Push event: 225
- Pull request review event: 1
- Pull request event: 55
- Fork event: 3
Last Year
- Create event: 25
- Commit comment event: 1
- Issues event: 9
- Watch event: 5
- Delete event: 28
- Issue comment event: 16
- Push event: 225
- Pull request review event: 1
- Pull request event: 55
- Fork event: 3
Committers metadata
Last synced: 8 days ago
Total Commits: 272
Total Committers: 16
Avg Commits per committer: 17.0
Development Distribution Score (DDS): 0.717
Commits in past year: 56
Committers in past year: 6
Avg Commits per committer in past year: 9.333
Development Distribution Score (DDS) in past year: 0.357
Name | Commits | |
---|---|---|
antonio-leblanc | a****c@p****r | 77 |
FILIPPI Jean-Baptiste | f****i@u****r | 71 |
Batti Filippi | b****i@g****m | 42 |
ludobegins | l****n@g****m | 34 |
filippi_j | f****j@U****l | 12 |
ronan | r****m@g****m | 11 |
Frederic Allaire | f****e@i****r | 6 |
Thoreau Romain | r****u@c****r | 6 |
baggiocolpir | 1****r | 3 |
jdurand | j****d@u****r | 3 |
Damien Grandi | d****i@g****m | 2 |
Johanna Strebl | j****l@g****m | 1 |
rbaggio | r****i@g****m | 1 |
damien | d****n@d****) | 1 |
Jean-Baptiste FILIPPI | f****j@B****) | 1 |
BAGGIO_R | b****r@o****l | 1 |
Committer domains:
- brando-front.(none): 1
- damien-vm.(none): 1
- univ-reunion.fr: 1
- cnes.fr: 1
- inria.fr: 1
- univ-corse.fr: 1
- poli.ufrj.br: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 31
Total pull requests: 55
Average time to close issues: 3 months
Average time to close pull requests: 11 days
Total issue authors: 12
Total pull request authors: 7
Average comments per issue: 2.26
Average comments per pull request: 0.25
Merged pull request: 39
Bot issues: 0
Bot pull requests: 0
Past year issues: 9
Past year pull requests: 35
Past year average time to close issues: 3 months
Past year average time to close pull requests: 6 days
Past year issue authors: 6
Past year pull request authors: 6
Past year average comments per issue: 1.44
Past year average comments per pull request: 0.37
Past year merged pull request: 23
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- antonio-leblanc (10)
- aalonsop (7)
- julimi26 (3)
- jimDunn85 (2)
- chemben17 (2)
- jsotomartin (1)
- ConorHackett98 (1)
- MikeRiz521 (1)
- Nikolaos96 (1)
- justinge (1)
- agumartina (1)
- 3dfirelab (1)
Top Pull Request Authors
- antonio-leblanc (42)
- ludobegins (6)
- 3dfirelab (3)
- filippi (1)
- baggiocolpir (1)
- YokoHono (1)
- Romain3Ch216 (1)
Top Issue Labels
- enhancement (3)
- question (2)
Top Pull Request Labels
Dependencies
- actions/checkout v3 composite
- osgeo/gdal ubuntu-small-3.3.1 build
- pyproj ==3.4.0
Score: 6.5337888379333435