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.6.0 to version 5.6.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.4.0.tar.gz (54.2 kB view details)

Uploaded Source

Built Distribution

pyrolib-0.4.0-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrolib-0.4.0.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pyrolib-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e28a35210106cfcb50984c6e10c380262b16492843701a6db7d45d56c5c8d74f
MD5 a456175575ce9f67c0b535c9429b913c
BLAKE2b-256 3832ea201ea05c873e9f3bf73d92fe2fca77b16320de1595aeb70368a7ad019a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrolib-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 63.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pyrolib-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed36639bc43f44399814b5891763c55da2f75e6b002ed00f2f77d92b3a7f088d
MD5 2fef71ad90ddf202d09eabecdcc790a3
BLAKE2b-256 96b1abe38f1b665ee45fcddb3686404ef84600a93cda6e8643c5690e5f4a0bd0

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