Skip to content

AQI calculation聽#49

Description

@sojeri

instead of trusting AQI category value 1-5 from the API, calculate the US AQI standard and display that.

the first hard part is going to be understanding the formula, because there is no I or C in the data. what you mean??? 馃槅馃槄

https://openweathermap.org/api/air-pollution
https://openweathermap.org/air-pollution-index-levels

For pollutants concentration recalculation into AQI equation and table below is used:
computingaqi
where:
I = the Air Quality index,
C = the pollutant concentration,
Clow= the concentration breakpoint that is 鈮,
Chigh= the concentration breakpoint that is 鈮,
Ilow= the index breakpoint corresponding to Clow,
Ihigh= the index breakpoint corresponding to Chigh.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions