so we will see nothing different until the next highest windgust is seen - 
is that correct??  And when we have a new high windgust there should then 
be a windgustdir entry??

What about in the archive where also there is a windgust but no 
windgustdir??  or is it also necessary to set windgustdir = winddir 
somewhere in weewx.conf??  i.e what/where/how is windgustdir actually 
getting a value since it is never actually coming from the station - since 
I thought greg said that the current tag provides a value for windgustdir ….

On Saturday, 5 May 2018 04:18:05 UTC+3, Thomas Keffer wrote:
>
> Thanks, Andrew & Greg. 
>
> I now understand what the issue is.
>
> Try this version of accum.py. It first adds windSpeed to the highs and 
> lows, *then* windGust. This way, the direction will be saved the first 
> time a high value is seen.
>
> I'm hoping the fix is that simple, but maybe not...
>
> -tk
>
> On Fri, May 4, 2018 at 6:12 PM, Andrew Milner <[email protected] 
> <javascript:>> wrote:
>
>> Tom
>> LOOP indeed has gustspeed but not gustdir
>>
>> REC has gustspeed and NONE for gustdir
>>
>> Command line output attached
>>
>>
>>
>> On Saturday, 5 May 2018 02:06:11 UTC+3, Thomas Keffer wrote:
>>>
>>> Thanks, Greg, but I believe the problem occurs if the LOOP data includes 
>>> windGust, but not windGustDir. In this case, the accumulator uses windGust 
>>> to set the new high but, because windGustDir is missing, it logs the 
>>> companion direction as 'None.'
>>>
>>> So, unless windGust, but not windGustDir, is being emitting in your LOOP 
>>> packets, you're not tickling the corner case.
>>>
>>> -tk
>>>
>>> On Fri, May 4, 2018 at 3:54 PM, Greg from Oz <[email protected]> wrote:
>>>
>>>> The field name is windDir
>>>>
>>>> -- 
>>>> 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].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to