[weewx-user] Re: how to grab LOOP data to post here (FAQ)

2022-03-01 Thread Paul G
Vantage users can run recent versions of vantage.py directly.
I made two small changes so it 1) uses loop_request=3 and 2) collects two 
records and exits.

On Tuesday, March 1, 2022 at 3:52:37 PM UTC-5 vince wrote:

> fyi - I added a FAQ page on how to run weewxd interactively to grab a few 
> LOOP data snippets since this one comes up so often
>
> https://github.com/weewx/weewx/wiki/faq-running-weewxd-directly
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f83e6eb5-439e-4b62-bb50-45cb87a683b9n%40googlegroups.com.


[weewx-user] Vantage barometric reduction in _loop_map

2022-02-25 Thread Paul G
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f9a8beec-04c9-4cc5-9ba8-ab6d3fb2afd6n%40googlegroups.com.