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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrolib-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 66ad46a06efe79ef800e3721b6eda80493f681803a5b8629d8f3862aca4aa616
MD5 16552b6af65a5134af31e298de6d3244
BLAKE2b-256 7324d32aca8876847ed1b7ffad98ec6f8b2020d83e776d4f60eb505f4ae8bfc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrolib-0.4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0836c9fd93357fc421436536539ecdeed024657881c6af88b1f756b0be7e457a
MD5 f8a6bb42b1fa033c63afb121e0222e68
BLAKE2b-256 6aee2c60a08dc55873005e4158a0326857f5bb571deac3bebe5dd2b2f299bee3

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