FO stations do not supply windGustDir, so the software should substitute windGust in its place.
Could you please run weewxd directly from the command line <http://www.weewx.com/docs/usersguide.htm#Running_directly>? Watch what it prints out for records (marked with "REC:"). What does it show for windGust and windGustDir? -tk On Sat, Feb 12, 2022 at 4:19 AM Aslak Vaa <aslak....@gmail.com> wrote: > After upgrating to weewx version 4.6.0/4.6.2 is windGustDir is always set > to NULL in database (sqlite3). > Please see results of query from the database and extracts from the syslog > file. > I stopped the version 4.5.1 at feb 5 15:02:05, and I started the version > 4.6.0 same date half an hour later at 15:32:19. The windDir is saved as > expected, only windGustDir is missing. > My weatherstation is model WH1080 , and I am using the FineOffsetUSB > driver. > Contents of database: > sqlite3 /var/lib/weewx/weewx.sdb > SQLite version 3.34.1 2021-01-20 14:10:07 > Enter ".help" for usage hints. > sqlite> select dateTime(archive.dateTime, 'unixepoch', 'localtime') > dateTime, > ...> archive.windSpeed, archive.windDir, archive.windGust, > archive.windGustDir > ...> from archive > ...> where archive.datetime > > ...> (select max(archive.dateTime) from archive where windGustDir is > not null) - 1000 > ...> limit 10; > 2022-02-05 > 14:50:00|17.1634447548798|234.745604391204|29.7513266307928|247.5 > 2022-02-05 > 15:00:00|17.6108331252676|221.995376457057|27.2906905936595|247.5 > 2022-02-05 15:14:51|24.3826661861384|202.5|32.6593510383139| > 2022-02-05 15:24:51|21.2509475934234|247.5|22.8168068897809| > 2022-02-05 15:34:51|22.8168068897809|180.0|27.2906905936595| > 2022-02-05 15:40:00|24.3826661861384|225.0|28.1854673344352| > 2022-02-05 15:50:00|19.2987074317309|222.892960584793|34.8962928902532| > 2022-02-05 16:00:00|19.6444166270306|220.208490631264|34.2252103346714| > 2022-02-05 16:10:00|17.3871389400737|226.684593888771|23.4878894453627| > 2022-02-05 16:20:00|13.7673603069355|222.317738592905|25.0537487417202| > sqlite> > Extracts from syslog: > aslak-pi0:~ $ grep '4\.5\.' /var/log/syslog.1 | tail > Jan 30 09:51:04 aslak-pi0 weewx[952] INFO __main__: Starting up weewx > version 4.5.1 > Jan 30 19:29:02 aslak-pi0 weewx[976] INFO __main__: Initializing weewx > version 4.5.1 > Jan 30 19:29:02 aslak-pi0 weewx[979] INFO __main__: Starting up weewx > version 4.5.1 > Jan 31 19:28:05 aslak-pi0 weewx[965] INFO __main__: Initializing weewx > version 4.5.1 > Jan 31 19:28:05 aslak-pi0 weewx[968] INFO __main__: Starting up weewx > version 4.5.1 > Feb 1 20:32:31 aslak-pi0 weewx[1032] INFO __main__: Initializing weewx > version 4.5.1 > Feb 1 20:32:31 aslak-pi0 weewx[1037] INFO __main__: Starting up weewx > version 4.5.1 > Feb 2 15:44:42 aslak-pi0 weewx[15495] INFO __main__: Initializing weewx > version 4.5.1 > Feb 2 15:44:43 aslak-pi0 weewx[15498] INFO __main__: Starting up weewx > version 4.5.1 > Feb 5 15:02:05 aslak-pi0 weewx[15498] INFO __main__: Terminating weewx > version 4.5.1 > aslak-pi0:~ $ grep '4\.6\.0' /var/log/syslog.1 | head > Feb 5 15:32:19 aslak-pi0 weewx[37838] INFO __main__: Initializing weewx > version 4.6.0 > Feb 5 15:32:19 aslak-pi0 weewx[37841] INFO __main__: Starting up weewx > version 4.6.0 > Feb 5 15:33:45 aslak-pi0 weewx[37841] INFO __main__: Terminating weewx > version 4.6.0 > Feb 5 15:35:28 aslak-pi0 weewx[37964] INFO __main__: Initializing weewx > version 4.6.0 > Feb 5 15:35:28 aslak-pi0 weewx[37967] INFO __main__: Starting up weewx > version 4.6.0 > Feb 5 16:46:50 aslak-pi0 weewx[37967] INFO __main__: Terminating weewx > version 4.6.0 > Feb 5 16:46:54 aslak-pi0 weewx[38640] INFO __main__: Initializing weewx > version 4.6.0 > Feb 5 16:46:54 aslak-pi0 weewx[38643] INFO __main__: Starting up weewx > version 4.6.0 > Feb 5 16:57:25 aslak-pi0 weewx[38643] INFO __main__: Terminating weewx > version 4.6.0 > Feb 5 16:57:29 aslak-pi0 weewx[38793] INFO __main__: Initializing weewx > version 4.6.0 > aslak-pi0:~ $ > > -- > 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/1acfbc59-01a5-44a9-b1a8-bd000823204fn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/1acfbc59-01a5-44a9-b1a8-bd000823204fn%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDe8ZbnCSzLOUSdcZv2DDREW%2BXcA%3Dm89om8EeLBu9D2-Q%40mail.gmail.com.