Right you are! Thanks. Fixed in commit 70a947c <https://github.com/weewx/weewx/commit/70a947ccc81f455b1e94d2b6c7aba32b2b574288> .
Nice to know someone is using type 2 packets. On Fri, Feb 25, 2022 at 8:54 AM Paul G <[email protected]> wrote: > I'm trying to understand how pressure is processed in weewx v4 and I see > this line in the loop mapping dictionary: > > 'bar_reduction' : lambda p, k: float(p[k]) / 1000.0 if p[k] else None, > > Since Barometric Reduction Method has a value in 0..2 shouldn't it be > mapped with an identity function? E.g. lambda p, k: p[k] > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/f9a8beec-04c9-4cc5-9ba8-ab6d3fb2afd6n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/f9a8beec-04c9-4cc5-9ba8-ab6d3fb2afd6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBt7UX%3Dpt%3Di9mjuVB1%3DREdC8aCCRCjLCRMip0Y7afz0pw%40mail.gmail.com.
