On Monday, August 29, 2016 at 3:46:48 PM UTC-4, Roland Ehle wrote: > > Seems, as if you got it. I have 2 empty entries in the database for > pressure and barometer: > > 1472494380|29.3797991730656|30.1131380980191 > 1472494500|| > 1472494800|| > 1472495100|29.3857058476078|29.3857058476078 > > Is it the station, that does not provide values? >
what altitude is entered in your station? what is the sea level pressure reported by the station console? what is the sea level pressure reported by other stations near your station? the station reports pressure two different ways. in historical records (D2 packets, only during read of historical data), it reports a single value. the driver interprets this value as 'pressure', i.e., the absolute gauge pressure. in pressure packets (D6 packets, one every 900 seconds), it reports two values. the driver interprets these as 'pressure' and 'barometer'. so when weewx reads historical data, it calculates the barometer value from the pressure in the historical record. but when weewx reads current values, it simply reports the pressure and barometer values it reads from the hardware. i suspect the conversion from gauge pressure to barometric pressure is not being done correctly on historical records. the empty values are to be expected, since the wmr300 only reports pressure every 900 seconds. it looks like your archive interval is 300 seconds, so i would expect pressure and barometer values every third archive record. please post the entire output from the database query - we need to see the values when the archive records came from the wmr300 logger, not generated by weewx. to find out exactly what is happening, do the following: 1) set debug=1 in weewx.conf 2) set debug_decode=1 in the [WMR300] section in weewx.conf 3) stop weewx 4) wait for 15 minutes or so (enough time to let new data accumulate in the wmr300 logger) 5) start weewx capture the log output (there will be a lot). m -- 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.
