PostBP: A Python Library for Post-Processing Outputs from Wildfire Growth Models
A Python Library
- Free software: MIT License
- Documentation: https://nliu-cfs.github.io/postbp
Introduction
PostBP is an open-source Python library designed to simplify the analysis and visualization of outputs from wildfire growth models (FGMs), such as the Canadian Burn-P3 model. The library extracts critical fire behavior metrics, including fire spread likelihoods, source-sink ratios, and burn probabilities, providing actionable insights for wildfire risk assessments and mitigation planning.
With PostBP, users can transform raw simulation outputs into intuitive metrics and maps, streamlining decision-making for wildfire management.
Key Features
- Hexagonal Patch Network: Discretize landscapes into hexagonal patches for intuitive fire behavior analysis.
- Fire Spread Analysis:
- Compute fire spread likelihoods between pairs of hexagonal patches.
- Visualize fire spread patterns with rose diagrams.
- Burn and Ignition Probabilities:
- Calculate patch-level burn probabilities and ignition likelihoods.
- Supports user-defined thresholds for burned area classification.
- Source-Sink Analysis:
- Quantify the tendency of patches to act as fire sources or sinks.
- Customizable Inputs:
- Supports outputs from Burn-P3 and other FGMs with compatible formats.
- Flexible Outputs:
- Save results as GeoDataFrames, GeoJSON, Apache GeoParquet, or ESRI Shapefiles.
Installation
PostBP can be installed using pip, it is recommended to install PostBP in a dedicated Python environment to avoid dependency conflicts.:
pip install postbp
Documentation and Support
Comprehensive documentation is available at: https://nliu-cfs.github.io/postbp
For any issues or inquiries, please open an issue on the GitHub repository.
Citation
If you use PostBP in your research, please cite:
Liu, N., Yemshanov, D., Parisien, M.-A., et al. (2024). PostBP: A Python library to analyze outputs from wildfire growth models. MethodsX, 13, 102816. DOI:10.1016/j.mex.2024.102816
Metadata
Release files for postbp 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| postbp-2.0.0.tar.gz | 37.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| postbp-2.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 37.8 MB
Release files / postbp-2.0.0.tar.gz
| Download URL | postbp-2.0.0.tar.gz |
|---|---|
| Size | 37.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f022d860e32e564121dce8b3332821d21e05e1f0b58aa175c618be6f52cfd021
|
|
BLAKE2b-256 checksum How to use checksums |
b551a3e439151b4a65dfc1252621018865ce3a9849210c2df8b25f9e242ca869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / postbp-2.0.0-py2.py3-none-any.whl
| Download URL | postbp-2.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
705c98c0a81a1f5d35def81d3df0ed32c264a3f4d900e261741152550d34d241
|
|
BLAKE2b-256 checksum How to use checksums |
27cbcb120b1ba59d7879d3640574766dac8560a06dc62d8ac09b35fb500c4124
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|