I have added to my index web page:
<td>
                          High Wind 
                        </td>
                        <td>
                          $day.wind.max from $day.wind.gustdir 
($day.wind.gustDir.ordinal_compass) at $day.wind.maxtime
                        </td>

And it displays this:
High Wind 16 km/h from 45° (NE) at 15:30:00

So it is looking good as far as I can tell.



On Sunday, 6 May 2018 11:59:26 UTC+10, Andrew Milner wrote:
>
> where does that come from Tom? In the daily wind table I have a field 
> called max_dir but I do not see a field called gustdir - that is only in 
> the archive table.
>
> On Sunday, 6 May 2018 04:51:59 UTC+3, Thomas Keffer wrote:
>>
>> The value for $day.windDir.max will, indeed, be the highest cardinal 
>> value seen for the day, and always has been. Kind of a useless statistic. 
>>
>> You want $day.wind.gustdir
>>
>> -tk
>>
>> On Sat, May 5, 2018 at 6:43 PM, Andrew Milner <[email protected]> 
>> wrote:
>>
>>> Tom
>>> With the start of a new day I am now able to say that all gustdir fields 
>>> appear to be being populated.
>>>
>>> The only issue I now find is that there seems to be no correlation 
>>> between daily gust speed and daily gust direction in that it seems max for 
>>> daily gustdir is the highest cardinal direction - which will probably 
>>> settle at 359 by the end of the day, and the time will be then maxtime will 
>>> be the time at which 359 was seen, whilst gustspeed maxtime will be the 
>>> time of the gust - so the result of day.windgust.max from day.winddir.max 
>>> at day.windgust.maxtime will not be what one expects in that direction will 
>>> usually just be some random high direction close to 359 ….  Unless there is 
>>> some other way to get the direction of the max gust.
>>>
>>> Andrew
>>>
>>>
>>> On Sunday, 6 May 2018 03:45:15 UTC+3, Greg from Oz wrote:
>>>>
>>>> Watching my wind direction weather vane it spins around a lot so the 
>>>> direction would be pot luck whether it was a gust or just a breeze, so I 
>>>> think any number/direction is better than nothing.
>>>>
>>>>
>>>> On Sunday, 29 April 2018 19:32:49 UTC+10, Greg from Oz wrote:
>>>>>
>>>>> My web page displays the wind direction and is using this value 
>>>>> $current.windDir.formatted
>>>>>
>>>>> The week web page is using this: $week.wind.max from 
>>>>> $week.wind.gustdir ($week.wind.gustDir.ordinal_compass) at 
>>>>> $week.wind.maxtime
>>>>>
>>>>> This is what is displayed on the current conditions webpage;
>>>>> Wind 6 km/h from 217° (SW)
>>>>>
>>>>> This is what is being displayed on the week webpage:
>>>>> High Wind 23 km/h from N/A (N/A) at 11:47:27 (Friday)So my question 
>>>>> is why doesn't the directions show up on any other webpages?
>>>>> Also where is the data for these values stored?
>>>>> Are they calculated somewhere?
>>>>>
>>>>> I noticed this direction data was missing after I installed the 
>>>>> android weewx app (which is great BTW) and it showed my missing data.
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>>
>>>>> -- 
>>> 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to