Skip to main content

Analysis of fire spread and intensity

Project description

PyroPy

Analysis of fire spread and intensity.

Author: Geoffysicist

Source code: https://github.com/Geoffysicist/PyroPy

Uses weather data and model specific parameters to predict rate of spread and intensity of wildfires.

Unless otherwise indicated all models have been taken from:

Cruz, Miguel, James Gould, Martin Alexander, Lachie Mccaw, and Stuart Matthews. (2015) A Guide to Rate of Fire Spread Models for Australian Vegetation, CSIRO Land & Water and AFAC, Melbourne, Vic 125 pp.

Install

pip install PyroPy

Included modules

  • firebehaviour: Defines the main Incident class and several auxillary dictionaries. An Incident stores data related to the incident including weather, model parameters and model outputs.
  • spreadmodels: fire spread model functions which can be called directly or by an Incident.
  • weatherdata: functions for reading, writing and transforming weather between various formats including Australian Bureau of Meteorology (BoM) Gridded Weather, BoM Observations (*.axf) and Amicus.

for more detailed information see modules.

Typical Use Example

from pyropy import firebehaviour as fb
from pyropy import weatherdata as wd

#read the weather data into a pandas DataFrame
weather_fn = 'weather_gridded_in.csv'
weather_df = wd.gridded_to_df(weather_fn)

#create an Incident using the weather data
incident = fb.Incident(weather_df)

#add the parameters necessary to run the desired models
incident_params = {
    #forest_mk5
    'waf': 3.5,
    'fuel_load': 15,
    #forest_vesta
    'fhs_surf': 3.5,
    'fhs_n_surf': 2,
    'fuel_height_ns': 20
}
incident.set_params(incident_params)

#run the desired models
incident.run_forest_mk5()
incident.run_forest_vesta()

#output results
incident.print(head=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyroPy-1.0.3a3.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

PyroPy-1.0.3a3-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file PyroPy-1.0.3a3.tar.gz.

File metadata

  • Download URL: PyroPy-1.0.3a3.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for PyroPy-1.0.3a3.tar.gz
Algorithm Hash digest
SHA256 fac0820e8f14c9161d5f2e5f63134c1a7a2367d3201f78ce6d24c6e95b94464b
MD5 c0719262cfbaf001116f40ac62d2f8cc
BLAKE2b-256 2f3e9a6c9312945bbffa4e922a2a62a76aa8e3f2a1445b24941feb18ddc5c381

See more details on using hashes here.

File details

Details for the file PyroPy-1.0.3a3-py3-none-any.whl.

File metadata

  • Download URL: PyroPy-1.0.3a3-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for PyroPy-1.0.3a3-py3-none-any.whl
Algorithm Hash digest
SHA256 f9b3dbfd2dbf2049d9f661bd779dcd1f84c6a5d55dcf8e6758a6774e8910c204
MD5 99cc9bd24b600481db7433139e648472
BLAKE2b-256 b03d98dd584d2b656ff982822b6b6259a173afac8fcf6949080b91679e3bdd2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page