On Fri, Aug 31, 2012 at 05:46:39PM -0600, we recorded a bogon-computron collision of the <[email protected]> flavor, containing: > Davis/Meteo and LaCrosse users: > > I have once again hacked on Xastir's weather station code for Davis (with > Meteo) > and LaCrosse weather stations. My latest commit changes Xastir *AND* the > "db2APRS" and "open2300db2APRS" support programs. > > My prior commits to Xastir changed the Davis/LaCrosse code in Xastir to honor > the data that was sent for 24-hour, 1-hour, and since-midnight rain > information > from the database programs, but in the process caused "total rain" in the > "Own Weather Data" dialog to be blank if you were running one of these two > weather stations. That's because neither of those db programs actually > *sends* the total rain (rain since station reset), and prior to that commit > what was really being displayed here was wrong. > > This new commit adds Total Rain to the output of the two database programs, > and adds parsing code to the DAVISMETEO code block to handle it. It also > adds computation of rain-since-midnight for LaCrosse stations, because those > stations don't provide the information.
Thanks to Dean Groe's testing efforts, I've concluded that Meteo does not in fact store in its database the quantity that Xastir considers "Total Rain" but only "total rain so far today" --- rendering the change I recently made to db2APRS unnecessary and in fact incorrect. I've reverted the code change and now db2APRS is once again producing completely standard APRS-spec wx reports, with only the three normal rain data: 1-hour, 24-hour, and since- midnight. Xastir will now display a blank box for the "Total Rain" information in "Own Weather Data", as there is no way to recover that information from what we have, but everything else will be right. Prior to my first hack on this part of the code, *ALL* of the rain data was behaving incorrectly, so at least there has been some positive change over the last few weeks. I have left in place my change to the LaCrosse "open2300db2APRS" program, because open2300 *DOES* put "Total Rain" into the database, and this program is able to pass that information on to Xastir. Thanks, Dean, for helping to verify whether or not the changed code worked. Pity it didn't. -- Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick _______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
