A Python Library
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file postbp-2.0.0.tar.gz.
File metadata
- Download URL: postbp-2.0.0.tar.gz
- Upload date:
- Size: 37.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f022d860e32e564121dce8b3332821d21e05e1f0b58aa175c618be6f52cfd021
|
|
| MD5 |
07afac38c23ed1381702fa8e9eee92f4
|
|
| BLAKE2b-256 |
b551a3e439151b4a65dfc1252621018865ce3a9849210c2df8b25f9e242ca869
|
File details
Details for the file postbp-2.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: postbp-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
705c98c0a81a1f5d35def81d3df0ed32c264a3f4d900e261741152550d34d241
|
|
| MD5 |
b875136e44b261cd391e7e9c1fc5bb6f
|
|
| BLAKE2b-256 |
27cbcb120b1ba59d7879d3640574766dac8560a06dc62d8ac09b35fb500c4124
|