Skip to main content

An enhanced Fire Weather Index with atmospheric instability information

Project description

FWIe

Enhancing the Fire Weather Index with atmospheric instability information

Install

pip install fwie

How to use

import numpy as np
import scipy.io as sio
import matplotlib.pyplot as plt
from fwie.fwie import FWIe_calc

CHI = sio.loadmat('data/CHI_ERA5.mat')['CHI'][240]
FWI = sio.loadmat('data/FWI_ERA5.mat')['FWI'][240]
FWIe = FWIe_calc(FWI, CHI)
fig, axes = plt.subplots(ncols=2, figsize=(10,5), dpi=150)
axes[0].imshow(FWI, vmin=0, vmax=70, cmap='RdYlGn_r')
axes[1].imshow(FWIe, vmin=0, vmax=70, cmap='RdYlGn_r')
fig.tight_layout()

png

fig, axes = plt.subplots(ncols=2, figsize=(10,5), dpi=150)
axes[0].imshow(CHI, vmin=0, vmax=13, cmap='jet')
axes[1].imshow(FWIe-FWI, vmin=-10, vmax=10, cmap='seismic')
fig.tight_layout()

png

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

fwie-0.0.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

fwie-0.0.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file fwie-0.0.2.tar.gz.

File metadata

  • Download URL: fwie-0.0.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for fwie-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b1e23506ac207fab6c4fe3051b9e19c30b547cb69da7fb3e984a862dfe88bc35
MD5 17d052444d5cc907d36caf0c01e37397
BLAKE2b-256 924980f8b1ae1c32e35ab8b6b98e4656e1ed1146025e560562bac2e0273073f4

See more details on using hashes here.

File details

Details for the file fwie-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: fwie-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for fwie-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3605149f98a37439ce6a7e8ef94b0f1709008f3360eeba26d2a67e706c19f16a
MD5 f1087712113995873e570197dec63725
BLAKE2b-256 923e97bf3efd2ec0ade51e84473fbe5d562633423fe2a8f341ccea0561125019

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