Skip to main content

airfuse provides several data fusion techniques designed to work with AirNow, PurpleAir, NOAA's Air Quality Forecast and NASA's Composition Forecast.

Project description

airfuse

AirFuse provides several data fusion techniques designed to work with AirNow, PurpleAir, NOAA's Air Quality Forecast and NASA's Composition Forecast.

Overview

The standard driver applies Nearest Neighbor Averaging, Voronoi Neighbor Averaging (VNA), extended VNA (eVNA), and additive VNA (aVNA). eVNA corrects the model surface multiplying the ratio of obs:mod. aVNA is like eVNA, except it corrects teh model surface by subtracting the bias. For both eVNA and aVNA, the ratio or bias is interpolated from Voronoi neighbors using inverse distance weights.

This is currently a research product and is provided as-is with no warranty expressed or implied. Users should be cautious.

AirFuse Examples

from airfuse.drivers import fuse

date = '2023-08-24T18Z'
pmpaths = fuse(
    obssource='airnow', species='pm25', startdate=date, model='naqfc'
)
o3paths = fuse(
    obssource='airnow', species='o3', startdate=date, model='naqfc'
)

Install

Using pip

airfuse currently requires the nna_methods package, which is another github repository. So, installing requires two calls to pip.

pip install git+https://github.com/barronh/nna_methods.git
pip install git+https://github.com/barronh/airfuse.git

From Downloaded Source

airfuse can also be installed by downloading the source code.

wget https://github.com/barronh/airfuse/archive/refs/heads/main.zip
unzip main
cd airfuse-main
pip install -r requirements.txt
pip install .

Feedback

If you have feedback about airfuse, please open an issue.

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

airfuse-0.8.5.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airfuse-0.8.5-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file airfuse-0.8.5.tar.gz.

File metadata

  • Download URL: airfuse-0.8.5.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for airfuse-0.8.5.tar.gz
Algorithm Hash digest
SHA256 4ddb32314c900eab105f109d1ff2bf35eec146186fd98bd92d7e250162706f99
MD5 52edccc6b3e9151356aaa3539e2b878f
BLAKE2b-256 a7d1f08ad923b6e0daca54886db60fdb6fd4e4924d2726eee83af0e50732fe54

See more details on using hashes here.

File details

Details for the file airfuse-0.8.5-py3-none-any.whl.

File metadata

  • Download URL: airfuse-0.8.5-py3-none-any.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for airfuse-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 956b574b7a146f074548d3d869da47f71e0be77a8925651c02e9b143fcbeaed8
MD5 61170e60a838eb8b54e26c94c7babd69
BLAKE2b-256 0251a2a335fcc59fd0abe724787dc44837ff227ee179448bd698fd208e556f77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page