|
Timestamp |
Wind Gust |
Wind Speed |
Source |
|
2020-02-27 18:27:24 GMT |
windGust: 0.683510010315 |
windSpeed: 0.310686368325 |
LOOP DATA |
|
2020-02-27 18:27:32 GMT |
windGust: 0.683510010315 |
windSpeed: 0.310686368325 |
LOOP DATA |
|
2020-02-27 18:27:40 GMT |
windGust: 0.683510010315 |
windSpeed: 0.49709818932 |
LOOP DATA |
|
2020-02-27 18:27:56 GMT |
windGust: 0.683510010315 |
windSpeed: 0.062137273665 |
LOOP DATA |
|
2020-02-27 18:28:12 GMT |
windGust: 0.683510010315 |
windSpeed: 0.12427454733 |
LOOP DATA |
|
2020-02-27 18:28:27 GMT |
windGust: 0.683510010315 |
windSpeed: 0.12427454733 |
LOOP DATA |
|
27/02/2020 18:29 GMT |
4 |
0.4 |
CONSOLE |
|
27/02/2020 18:28:00 GMT |
1.100002734 |
0.400000994 |
ARCHIVE |
|
Timestamp |
Wind Gust |
Wind Speed |
Source |
|
units |
recorded |
|
2020-02-27 18:27:24 GMT |
windGust: 0.683510010315 |
windSpeed: 0.310686368325 |
LOOP DATA |
|
usUnits: 1 |
weewx direct (stdout) |
|
2020-02-27 18:27:32 GMT |
windGust: 0.683510010315 |
windSpeed: 0.310686368325 |
LOOP DATA |
|
usUnits: 1 |
weewx direct (stdout) |
|
2020-02-27 18:27:40 GMT |
windGust: 0.683510010315 |
windSpeed: 0.49709818932 |
LOOP DATA |
|
usUnits: 1 |
weewx direct (stdout) |
|
2020-02-27 18:27:56 GMT |
windGust: 0.683510010315 |
windSpeed: 0.062137273665 |
LOOP DATA |
|
usUnits: 1 |
weewx direct (stdout) |
|
2020-02-27 18:28:12 GMT |
windGust: 0.683510010315 |
windSpeed: 0.12427454733 |
LOOP DATA |
|
usUnits: 1 |
weewx direct (stdout) |
|
2020-02-27 18:28:27 GMT |
windGust: 0.683510010315 |
windSpeed: 0.12427454733 |
LOOP DATA |
|
usUnits: 1 |
weewx direct (stdout) |
|
27/02/2020 18:29 GMT |
4 |
0.4 |
CONSOLE |
|
km/h |
visually |
|
27/02/2020 18:28:00 GMT |
1.100002734 |
0.400000994 |
ARCHIVE |
|
km_per_hour (weewx.conf) |
weewx reports |
||||
|
2020-02-27 18:28:00 GMT |
windGust: 0.683510010315 |
windSpeed: 0.295152049909 |
REC |
usUnits: 1 |
weewx direct (stdout) |
|
2020-02-27 18:28:00 GMT |
windGust: 0.683510010315 |
windSpeed: 0.295152049909 |
REC |
usUnits: 1 |
weewx direct (stdout) |
|
|
|
time |
debug data wind gust (mps) |
debug data usunits |
console minutes |
console wind gust km/h |
DB (mph) |
|
Mar |
8 |
22:40:57 |
1.1, |
16 |
40 |
4 |
1.36702 |
|
Mar |
8 |
22:42:49 |
0.0, |
16 |
42 |
0 |
0.68351 |
|
Mar |
8 |
22:44:57 |
1.1, |
16 |
44 |
4 |
2.05053 |
I tried setting the debug level to 1 and viewed the syslog. The units displayed in the log are usunits=16 (which I assume is meters per second?).
I could not understand how these values were used to be stored in the archive database.
$ sqlite3 /home/weewx/archive/weewx.sdb
sqlite> .headers on
sqlite> SELECT datetime,datetime(dateTime,'unixepoch','localtime'),usUnits,windSpeed,windGust FROM archive ORDER BY dateTime DESC LIMIT 20;Hi Gary, I've spent some time looking at the log files and focusing on the windgust, still unresolved unfortunately.
I’m using the interceptor driver, I looked at the comments in the interceptor driver code which says
"The gust measure has resolution of 1.1 m/s (2.46 mph) - one revolution of the anemometer."
However the lowest gust value in the LOOP logs is “0.683510010315”. There must be a units problem here, I understand that “0.683510010315” usunits=1=mph, displayed in the each log record, and will convert to 1.1 km/h, but the console shows 4 km/h, so I’m assuming that 1.1 is m/s which converts to 3.96 km/h, very confusing, but I can get the figures to match even if they don’t make sense to me. Is there a simple explanation about these figures?
I notice that the LOOP & debug data for windgust is consistently the same, however debug data does not show the REC: records, these are only shown from the weewx direct logs. I'm unsure if the interceptor driver is sending the REC: records, do you know?
I assume it is as weewx.conf says
“[StdArchive]
….
# Set the following to "software" to force software record generation.
record_generation = hardware”