On Saturday, January 20, 2018 at 8:52:44 AM UTC-5, gjr80 wrote: > > Matthew, > > Would this situation not be able to be resolved if the WMR300 driver was > subjected to the (for want of a better term) 'removal of unnecessary > output' treatment that the vantage driver was given under 3.7.0? I see > there are archive records and loop packets where all 3 'pressures' are > None. If we follow the vantage model this should not happen, if or more of > these is known any of the missing 'pressures' should be calculated and if > all three are unknown (unreported) then all 3 should be omitted from the > loop packet/archive record. The user could then use the $latest tag in > reports to get the lastest barometer, altitude or pressure and for WU the > cached values added in (I think) 3.6.2 should cater for pressure only being > reported every 15 minutes. >
gary, - wmr300 emits partial packets - wmr300 should never emit None for an observation unless there is something wrong with the sensor (i.e., the decode failed) part of the solution in this case might be to update to the latest restx.py from the repository - it has the insert-None-only-if-independent-variable-is-None fix. that *might* be less confusing to wu. but it if there is a hardware/sensor/decoding issue, then we need to see the raw serial output. i suspect that the stream of valid pressures in wu is due to reading historical values of pressure from the wmr300 logger. we need to see REC output for 10 or 20 records, but *after* all records from the logger have been read. then we need to see the 0xd6 pressure packets (by filtering LOOP packets) every 900 seconds. if current conditions (LOOP packets) always returns None for pressure, then the next step is to see if the hardware is sending 0x7f packets, or if the decoding algorithm is not handling the station pressure properly. decoding pressure from a 0xd2 history packet is different from decoding pressure from a 0xd6 packet. the 0xd6 packet contains pressure, barometer, and altitude. most other hardware only reports a station pressure or a sea level pressure. > To me going to a 15 or 30 minute or longer archive period is not much of a > solution. > agreed. i suggest that only to diagnose the problem, not as a long-term solution. -- 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.
