[Xastir] Re: Wind Gusts

Tom Russo russo at bogodyn.org
Fri Dec 15 01:45:00 EST 2006


On Thu, Dec 14, 2006 at 09:42:28PM -0800, we recorded a bogon-computron collision of the <archer at eskimo.com> flavor, containing:
> On Thu, 14 Dec 2006, Clay Jackson wrote:
> 
> > Well, I think I found the issue:
> > 
> > In wx.c, at line 427, in cycle_weather, wx_speed, not wx_gust was getting
> > passed to compute_gust.
> > 
> > Here's the diff:
> > 
> > 427c427
> > <             computed_gust = compute_gust((float)atof(weather->wx_gust),
> > ---
> > 
> > >             computed_gust = compute_gust((float)atof(weather->wx_speed),
> > > 
> > 
> > if you look at my data going to findu, it's now reporting much more reasonable
> > gust (32MPH so far this evening, the power's out and the storm "center" is
> > still several hours away).
> 
> I believe the idea is that we're computing the gust ourselves from
> the wx_speed value due to averaging time mismatches between the
> weather stations and the spec.  I think the wx_speed value there is
> intentional.

Also, some weather stations (like the cheap-o LaCrosse station I have) don't
return a gust value --- only the speed.  If xastir didn't compute it directly,
there'd be no gust information from stations with these gadgets.

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 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