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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airfuse-0.8.4.tar.gz.
File metadata
- Download URL: airfuse-0.8.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e89661aa05ad191dd9d202c6ba0245ef62dd4e76d2ad7c40f5881422eeed28c8
|
|
| MD5 |
2de0b314ca7670c41c64abbac370a54b
|
|
| BLAKE2b-256 |
2e7f32dce1dfd80f3c8abf831176d4eb37165e3e0782597ca31a7192cdccf91c
|
File details
Details for the file airfuse-0.8.4-py3-none-any.whl.
File metadata
- Download URL: airfuse-0.8.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f28c4a7b0d8ccbd1a309448889116c8f38d47a689032e23473e23c0997755d3
|
|
| MD5 |
7fa2ed4c7c9391c263ff7a0e2e504af0
|
|
| BLAKE2b-256 |
669c92cf15da7eda72f5606683172668178c12051a7b9c4e1a7bd6fff4481721
|