jonathankoren / weewx-aqi

Air Quality Calculations for WeeWx
GNU General Public License v3.0
9 stars 4 forks source link

Support NowCast 2019 O3 Calculations #23

Open jonathankoren opened 3 years ago

jonathankoren commented 3 years ago

In 2019, the EPA changed the way NowCast calculates O3 now using a complicated system that can turn into using a partial least squares model to predict the 8 hour average centered on the current time. (i.e. Predict what the 8 hour average would be if you calculated it using 4 hours of the past, and 4 hours in the future.)

This is a rather involved calculation to say the least.

See https://github.com/USEPA/O3-Nowcast for a definition.

I assume that you're supposed to take this 8 hour prediction and feed that into the 8 hour O3 table, along with plugging the 1 hour trailing average into the 1 hour table, and then taking the maximum AQI.