Weewx is designed to be extensible. An extension to do software generation of wind direction would not be hard, but you'll need to know some Python.
-tk On Mon, Oct 10, 2016 at 8:23 PM, Les Niles <[email protected]> wrote: > A related question: Would it be difficult to hack weewx to use a mixture > of hardware and software record generation? Specifically, to generate wind > direction (and perhaps wind speed) records in software, while using > hardware for everything else? I’m interested in doing this because the > Davis station for some reason quantizes wind direction to multiples of > 22.5º in the archive records, while the loop packets do not have this > quantization. That seems silly and annoying, so I’ve thought about > modifying my weewx to generate wind dir records from the loop packets. But > please stop me now if there’s some subtle architectural or functional > reason why this would be a bad idea… > > -Les > > > On 10 Oct 2016, at 6:11, Thomas Keffer <[email protected]> wrote: > > > 1. If you use hardware record generation, then windSpeed is whatever > is reported by your hardware. If you use software generation, then > windSpeed is the average over the archive interval. > 2. If you use hardware record generation, then windDir is whatever is > reported by your hardware. If you use software generation, then windDir is > calculated from the vector average. > 3. Zero wind speed has an undefined wind direction. But, see option > ignore_zero_wind <http://weewx.com/docs/usersguide.htm#StdWXCalculate>. > 4. No idea. > 5. If you use hardware record generation and your hardware reports > wind gusts, then that is used. If you use software generation, then > windGust is the highest value seen in the archive interval. > 6. If you use hardware record generation and your hardware reports > wind gust direction, then that is used. If you use software generation, > then windGustDir is the direction of the wind at the time the highest value > was seen in the interval. > > All of the above is from the perspective of weewx. In your situation, > where you have to work with the raw data, I'm not sure this is much help. > In particular, watching the wind vane on my anemometer, it swings wildly. > Some sort of averaging, even if over a few milliseconds, is probably > essential. > > Hope this helps. > > -tk > > > -- > 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. > -- 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.
