[Xastir] SHOW OF HANDS REQUESTED: Davis Weather Station users
Tom Russo
russo at bogodyn.org
Sat Jul 21 17:43:07 EDT 2012
On Thu, Jul 19, 2012 at 01:34:14PM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> On Thu, 19 Jul 2012, Tom Russo wrote:
>
> > I am unable to test anything rain-related here --- not only do I not have a
> > Davis unit (I have a LaCrosse), but I live in New Mexico. We only get about
> > 7" of rain a year, and I'm invariably away from the computer on the day it
> > happens.
>
> Well, rain I can do... But Davis I cannot. I have enough parts for two or three LaCrosse stations and one Dallas One-Wire station.
Interesting.
I just started digging into wx.c to see if I could start envisioning a path
forward for a complete rewrite --- I'm thinking that each type of station
can set a flag for what kind of data it's actually providing, and higher-level
code can fill in the missing stuff if (and only if) necessary, rather than
each case statement having duplicated (!) code for handling things like
wind chill and this rain handling stuff.
Lo and behold, the first thing I saw was that there is NO code to handle
rain from Dallas One-Wire. There is the following comment in its place:
// Rain: I don't have a rain gauge, and I couldn't tell from the
// "OWW" docs exactly which of the four rain fields did what. If
// someone can help me with that I'll add rain gauge code for the
// Dallas One-Wire.
Sigh.
--
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
More information about the Xastir
mailing list