python-aqi
python-aqi copied to clipboard
A library to convert between AQI value and pollutant concentration (µg/m³ or ppm)
Enabling(24h only) CAQI index calculation
I'm using version 0.6.1 of this library with the default EPA algorithm. When I provide a PM concentration that is higher than the upper limit defined by the maximum AQI...
AttributeError: module 'aqi' has no attribute 'POLLUTANT_O3_24H’ POLLUTANT_CO_24H POLLUTANT_CO_1H For algo.MEP how to solve this problem?
I get the following error when I try to request an api (using the OpenAQ API Wrapper): SSLError: HTTPSConnectionPool(host='api.openaq.org', port=443): Max retries exceeded with url: /v2/measurements?city=Delhi¶meter=pm25 (Caused by SSLError(SSLError("bad handshake:...
https://www.airqualitynow.eu/download/CITEAIR-Comparing_Urban_Air_Quality_across_Borders.pdf
https://www.eea.europa.eu/highlights/european-air-quality-index-current
For our reference: numpy's piecewise implementation https://github.com/numpy/numpy/blob/v1.20.0/numpy/lib/function_base.py#L500-L618
Extremely minor, but I noticed it while browsing the code and offer this as a fix.