[Xastir] Re: Wind Gusts

Curt Mills archer at eskimo.com
Fri Dec 15 00:42:28 EST 2006


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.

-- 
Curt, WE7U.				archer at eskimo dot com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list