WeeWx-Purple extension

71 views
Skip to first unread message

weather list

unread,
Sep 28, 2020, 3:32:31 PM9/28/20
to weewx...@googlegroups.com
This works nicely but I have not puzzled out the UNBC and LRAPA labels. Are these just naming conventions to distinguish those authorities’ values, or is there a calculation in the code (which I am not good enough to find) to produce a result according to their standards?

I’m running:
Weatherflow Tempest
WeeWx 4.1.1
Python 3.7
Raspian Desktop Buster
Belchertown 1.2

John Kline

unread,
Sep 28, 2020, 3:56:16 PM9/28/20
to weewx...@googlegroups.com
I’m glad it works for you.

The code makes the UNBC and LRAPA corrections to PM2.5. Both are useful when PM2.5 particles are dominated by wood fire particles (winter heating or wild fires).

For example, $current.pm2_5 in a report give the current PM2.5 value. Specifying $current.pm2_5_lrapa gives you the current LRAPA corrected PM2.5 value. Ditto for AQI where $current.pm2_5_lrapa_aqi gives you the Air Quality Index using the LRAPA corrected PM2.5 value.

See the implementations of the following methods in purple.py for the calculations:
def compute_pm2_5_lrapa(pm2_5):
def compute_pm2_5_unbc(pm2_5):

John

> On Sep 28, 2020, at 12:32 PM, weather list <dan.hi...@gmail.com> wrote:
>
> This works nicely but I have not puzzled out the UNBC and LRAPA labels. Are these just naming conventions to distinguish those authorities’ values, or is there a calculation in the code (which I am not good enough to find) to produce a result according to their standards?
> --
> You received this message because you are subscribed to the Google Groups "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/24DDC863-775A-4733-B6F3-ED1CCF40715C%40gmail.com.
Reply all
Reply to author
Forward
0 new messages