Skip to main content

Python tools for MesoNH-Blaze model

Project description

GitHub tag (latest by date) GitHub issues Documentation Status GitHub license

pyrolib

pyrolib is a tool library for Méso-NH/Blaze model. pyrolib provides python tools for the following purposes:

  • Generation of the FuelMap.nc file by using a Méso-NH namelist and the initialisation file of a Méso-NH/Blaze run.
  • FireFlux I exeprimental fire data processing.
  • Development of numerical methods for the Blaze fire model.

Installation

Install pyrolib from PyPI's:

pip install pyrolib

Usage

pyrolib is separated into several sub-libraries for each of the objectives mentioned above, respectively:

  • pyrolib.fuelmap
  • pyrolib.firefluxpost
  • pyrolib.blaze

Fuel database

pyrolib relies on a fuel container object called a FuelDatabase. A FuelDatabase is a 2 level nested dictionary-like class. The first level corresponds to an explicit fuel name (like "tall_grass"). This fuel can be described by several methods that are related to a rate of spread model (for example Rothermel or Balbi). Each description is related to a Fuel class (RothermelFuel or BalbiFuel) and constitutes the second level of the database.

TheFireFluxI FuelDatabase contains for example the following:

* FireFluxI
    < tall_grass > available for:
      - BalbiFuel fuel class

The list of FuelDatabase contained in pyrolib can be accessed through the cli pyrolib-fm list-fuel-databases.

A user database can be saved in a .yml file. See example examples/fuel_database.

Méso-NH compliance

The current version of pyrolib is compliant with Méso-NH from version 5.4.4 to version 5.5.0.

Acknowledgements

This library is part of the ANR FireCaster project (2017-2021, ANR-16-CE04-0006, FIRECASTER).

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

pyrolib-0.3.0.tar.gz (80.2 kB view details)

Uploaded Source

Built Distribution

pyrolib-0.3.0-py3-none-any.whl (97.5 kB view details)

Uploaded Python 3

File details

Details for the file pyrolib-0.3.0.tar.gz.

File metadata

  • Download URL: pyrolib-0.3.0.tar.gz
  • Upload date:
  • Size: 80.2 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.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for pyrolib-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bd144f284d325b17bdad45aa92802f5e265f575b59b3bd7daf56aa7972b62b5a
MD5 bc1abcb9b951701cdba9bba34430e565
BLAKE2b-256 abdb21916c7764cde580f4c7c0be5d6d078e3b51dcefef00d468ae22aa0b3d87

See more details on using hashes here.

File details

Details for the file pyrolib-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyrolib-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 97.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.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for pyrolib-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55f2ae5cc1a053670191f978a187f6977cd9814c7f25beda0583795d26b5391b
MD5 9a875cd9aa5666ead6bbc54d7e505028
BLAKE2b-256 8860177058846f14ef48a5c1b5ad7d5c6e225d0278482f769828d193ac3d5653

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