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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airfuse-0.7.3.tar.gz
.
File metadata
- Download URL: airfuse-0.7.3.tar.gz
- Upload date:
- Size: 45.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6f8f3e048b0ceab28f8e4506ccd660d55f858bffe0da952afeb51bef24e608c |
|
MD5 | 927bfdbbdab68462c528853efeed6950 |
|
BLAKE2b-256 | 0dc0e3cfd33ee4e7487de04caac60ddcd57f4a53833cf08bf027a98d0265e2b4 |
File details
Details for the file airfuse-0.7.3-py3-none-any.whl
.
File metadata
- Download URL: airfuse-0.7.3-py3-none-any.whl
- Upload date:
- Size: 53.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a698331125e678ddbf4a0370c7b19215beb9116e3f5d30b15f38b93c13747f43 |
|
MD5 | d732495c5edd8ea397e76693b7ebe395 |
|
BLAKE2b-256 | b9315976ce32dcd0d418e7f57b4b66cb21e7b685cfb24099fc2016cb75ed091d |