davidcarslaw / openair

Tools for air quality data analysis
https://davidcarslaw.github.io/openair/
GNU General Public License v2.0
304 stars 113 forks source link

More flexible AQ Stats #388

Open jack-davison opened 3 months ago

jack-davison commented 3 months ago

Feature request

Currently, aqStats() is a fairly prescriptive function that spits out fixed and limited air quality statistics that are mainly useful for UK data.

Recent work I've done in the Middle East has required totally different summary stats that openair can calculate, but you need to go round the houses to do so.

I wonder - could we have a more flexible function that allows users to define their own aq limits/stats?

mooibroekd commented 3 months ago

I would really like this. While the aqStats() function follows the EU legalization to some extent, there are some other interesting statistics (like SOMO35 for example) that are not easily implemented.

I have an expanded version of aqStats() that has some extra calculations.