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.3.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.3-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: airfuse-0.8.3.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.3.tar.gz
Algorithm Hash digest
SHA256 41cf73e57c89bb6317afe39fd63878cac2985fcddc09fe00eaa8460eceb9d2f6
MD5 68fb25d8bf5a6a662c099818af2397ff
BLAKE2b-256 35ad58e29c40c255ffa2545ca5f54703e4bc1f9fbcc4521c2244cf17c14f594d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: airfuse-0.8.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c79389d23c3f2ff909980f21a8937ab32993c4807dd811ca78933ff9ef52c264
MD5 a5171133351bb40a09edbf8235eb2d39
BLAKE2b-256 2beb06fef572c29a281db6de8007404dfca9971d1b97ea5e7fc28324828ae29c

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