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.1.tar.gz (61.3 kB view details)

Uploaded Source

Built Distribution

pyrolib-0.3.1-py3-none-any.whl (78.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrolib-0.3.1.tar.gz
  • Upload date:
  • Size: 61.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for pyrolib-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8648412bb758f549012f645306e603b73cd5ecd4781373a69dc45ce4008d8185
MD5 01ab77e6f2d88adcb178209381552e00
BLAKE2b-256 6057f36467ba0fbbb6a4d7c3b5237b7720515d68f021cad38bf8e8f4d40d222d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrolib-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 78.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for pyrolib-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 385ce9dff37cf113bffb68ea7d300ce63c7716f1b145e86438b5556741f91ca1
MD5 02e7d2583a71e73ef8488c3a17717804
BLAKE2b-256 5540853eb173aba582d370bce968dd8fc3f0ebdf608f1b4bd3d5427d3c41bcea

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