-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert pm25 AQI back to real pm25 level #46
Comments
So does the app currently use the AQI level or raw PM2.5 level? |
aqi. |
I thought so. According to the WAQI website, the current AQI for my city, Mumbai is 151. According to Berkley Earth, 1 cigarette is equivalent to an air pollution of 22 μg/m3 for one day. The WAQI website uses the US Consulate Real-time Air data(for Indian cities). According to their website, they use the US Environmental Protection Agency (EPA) Air Quality Index. This document published by the EPA gives us an idea of how they convert the Raw PM2.5 level into an AQI level. From the document, we can observe that the conversion from PM2.5 (in micrograms per cubic meter) to AQI is done in a stepwise linear manner.
This graph is a great example of the relationship between AQI & Raw PM2.5 level. IMO we should use the standard defined by the EPA within the above-mentioned document to convert the AQI back into the Raw PM2.5 level & then further convert that value into the equivalent cigarettes. |
Exactly! Thanks for the detailed report. Is there any chance you would want to work on this? |
I would love too, but unfortunately, I'm not well versed in JS or mobile app development. I was planning to build a Physical indicator that indicates the AQI in terms of Cigarettes using a Raspberry Pi(in Python) & some LEDs & I was doing some research on this topic when I stumbled upon your app. |
We use WAQI, and fetch the pm25 level from their database. However, they use a standard to transform raw pm25 level into an AQI.
We need to do the reverse calculation to get the raw pm25 level.
The text was updated successfully, but these errors were encountered: