GithubHelp home page GithubHelp logo

kelnos / aqi-rs Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 24 KB

Rust crate for calculating the Air Quality Index from particulate matter concentrations

License: Apache License 2.0

Rust 100.00%
rust aqi air-quality

aqi-rs's Introduction

aqi

crates.io Documentation Apache 2.0 Build Status

The aqi crate provides functions for calculating the Air Quality Index based on concentrations of particuate matter.

The AQI is defined for ozone (O₃), 1.0-2.5 micron particulate matter (PM2.5), 2.5-10 micron particulate matter (PM10), carbon monoxide (CO), sulfur dioxide (SO₂), and nitrogen dioxide (NO₂).

The AQI helps make air quality more understandable to laypersons, normalizing air quality on a scale from 0 to 500, with round-number ranges that indicate qualities such as "Good", "Unhealthy", and "Hazardous".

For further information, see AQI basics and AQI techinical assistance.

Additionally, this library supports "adjusted" PM2.5 AQI values, using the LRAPA, EPA and AQandU conversion formulas.

aqi-rs's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

squidpickles

aqi-rs's Issues

Add support for EPA AQI adjustment for PM2.5

The EPA completed a study in 2020 that corrects PurpleAir-derived sensor values, bringing them closer to AirNow official measurements.

From this study, it appears that the EPA adjustment outperforms several existing adjustments, including LRAPA.

It does require humidity as an input, but this is available from PurpleAir sensors, so shouldn't be an issue for users of the library.

PR coming that would add this adjustment, in the style of the existing ones. No API fanciness, just an extra argument for humidity.

Thanks for the work you've done on this so far!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.