Well I guess that is simply because the station does not provide wind gust direction.
See http://www.jim-easterbrook.me.uk/weather/mm/ for a more definitive structure to the FineOffset data structures. SO, for the FO stations you either have to put up with N/A on your web page, or amend the template to not even attempt to put out the direction or go into convoluted code to obtain the max wind/winddir instead of gust dir Guess you can't have something that cannot be read or derived - and since FO do not provide gust direction you're well and truly st...ed Still, problem solved in effect as it is not really a weewx issue - the data simply is not available!! On Friday, 4 May 2018 14:18:35 UTC+3, Greg from Oz wrote: > > MariaDB [weewx]> select dateTime,windspeed, winddir, windgust, windgustdir > from archive where dateTime > 1523758896; > > +------------+-------------------+------------------+------------------+-------------+ > | dateTime | windspeed | winddir | windgust | > windgustdir | > > +------------+-------------------+------------------+------------------+-------------+ > | 1523759196 | 2.0000049725819 | 225 | 4.10001019379289 | > NULL | > | 1523759496 | 1.40000348080733 | 315 | 2.40000596709828 | > NULL | > | 1523759796 | 1.70000422669461 | 22.5 | 3.10000770750194 | > NULL | > | 1523760096 | 3.40000845338922 | 225 | 5.8000144204875 | > NULL | > | 1523760396 | 3.40000845338922 | 180 | 4.80001193419655 | > NULL | > | 1523760696 | 0.700001740403664 | 45 | 1.70000422669461 | > NULL | > | 1523760996 | 1.40000348080733 | 45 | 2.70000671298556 | > NULL | > | 1523761296 | 2.70000671298556 | 225 | 5.8000144204875 | > NULL | > | 1523761596 | 2.70000671298556 | 90 | 5.8000144204875 | > NULL | > | 1523761896 | 1.40000348080733 | 0 | 2.40000596709828 | > NULL | > | 1523762196 | 2.0000049725819 | 135 | 3.40000845338922 | > NULL | > | 1523762496 | 2.40000596709828 | 90 | 5.10001268008384 | > NULL | > | 1523762700 | 2.13333863742069 | 37.1235426243259 | 3.70000919927651 | > NULL | > > +------------+-------------------+------------------+------------------+-------------+ > 13 rows in set (0.00 sec) > > I have NULL for gustdir as well. > > On Wednesday, 2 May 2018 22:42:30 UTC+10, Andrew Milner wrote: >> >> I cannot say as I do not use the standard skin. >> >> 1. Check the index.html.tmpl and see what the source of the dats >> actually is >> 2. Check the database and see what you actually have in the archive >> table windspeed, winddir, windgust, windgustdir fields, and the >> day_windspeed, day_gustspeed and day_gust dir tables >> >> I appear to have nulls everywhere for gustdir. >> >> On Wednesday, 2 May 2018 15:28:48 UTC+3, Greg from Oz wrote: >>> >>> Why does the direction show up on the current conditions page but not >>> the others? I would have thought it would have carried through to the week >>> and month and year. >>> >> -- 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.
