Page 1 of 1

wind average Computed by Meteobridge **solved**

Posted: Wed Jan 05, 2022 2:07 pm
by iu1jvo
Hi all,
Im using Meteobridge 5.2 on TL-MR3020V3.
The connetted logger is the Davis Console Emulator by Anemos.
The Emulator Work very good, receive the davis ISS data, but do not compute wind speed average and on meteo data display softwares like meteotemplate it's displayed only gust speed and not wind speed.
Is possible to setup meteobridge to compute wind speed average?

Thanks.

Re: wind average Computed by Meteobridge

Posted: Wed Jan 05, 2022 10:40 pm
by Mattk
For sure.

You could use sensor wind0avgwind which provides the average wind speed in m/s and average time is dependent on station being used. Use one of the converters to convert m/s if mph or kn or kmh is required

You could also use sensor wind0wind and use the avg selector

Check the options out here
https://www.meteobridge.com/wiki/index.php/Templates

Re: wind average Computed by Meteobridge

Posted: Wed Jan 05, 2022 11:09 pm
by iu1jvo
Hi Mattk,
You could use sensor wind0avgwind which provides the average wind speed in m/s and average time is dependent on station being used. Use one of the converters to convert m/s if mph or kn or kmh is required
the issue is that wind0wind sensor is linked to the wind0average provided by the davis console. But the Emulator of the Davis console do not provide the wind average.

So, after some search on google and this forum I found the solution!!

Thans to AlaskaWX and his Post, I write a meteobridge plugin that compute wind average and provide it on a new wind sensor.
Then I just need to remap the average wind sensor on the new one.

The code of the plugin is here: https://github.com/iu1jvo/meteobridge-plugins

Re: wind average Computed by Meteobridge **solved**

Posted: Thu Jan 06, 2022 6:34 am
by Mattk
So just to clarify, you say wind0wind is linked to wind0avgwind or should it be wind0avgwind is linked to wind0wind?

wind0avgwind is certainly based on station/manufacturer (Davis in this case) dependent average time, wind0wind should be the typical "actual" wind speed, although it may be averaged (as such) over several seconds which is quite different to say something like a 10 minute wind average?

One would have thought you should be able to average the wind0wind over whatever time period you require?

Re: wind average Computed by Meteobridge

Posted: Thu Jan 06, 2022 12:12 pm
by admin
iu1jvo wrote: Wed Jan 05, 2022 11:09 pm The code of the plugin is here: https://github.com/iu1jvo/meteobridge-plugins
Thanks for sharing the awk script!

Re: wind average Computed by Meteobridge **solved**

Posted: Fri Jan 07, 2022 3:32 pm
by iu1jvo
Mattk wrote: Thu Jan 06, 2022 6:34 am So just to clarify, you say wind0wind is linked to wind0avgwind or should it be wind0avgwind is linked to wind0wind?

wind0avgwind is certainly based on station/manufacturer (Davis in this case) dependent average time, wind0wind should be the typical "actual" wind speed, although it may be averaged (as such) over several seconds which is quite different to say something like a 10 minute wind average?

One would have thought you should be able to average the wind0wind over whatever time period you require?
Before change the link to wind1!0wind, wind0wind was linked as usual to wind0wind.
wind0avgwind was linked to wind0!0avgwind.

The issue is that the "Daevis Emulator", that is not the Davis console, but a USB key that "emulate" the davis console do not compute wind average and report 0 m/s as wind averagewind0!0avgwind, moreover report the "raw" wind speed as wind0!0wind.
On many weather site, the wind0wind is treated as Gust speed , wind0avgwind is treated as Wind Average. Only weather underground do not and use only wind0wind to compute wind average and wind gust :-( (I'm considering on removing it).

So, to solve the problem I writed an awk script that:
  • Compute wind speed average on 10m (Wind1!0avgwind remapped as Wind0avgwind)
  • Compute wind direction average on 10m (Wind1!0dir remapped as Wind0dir)
  • Compute wind gust on 10m (Wind1!0wind remapped as Wind0wind)
Then on my Meteotemplate as well as TorinoMeteo.org, windy, APRS feeded by my data all is fine.
Im working on Meteo Underground...

Re: wind average Computed by Meteobridge

Posted: Fri Jan 07, 2022 10:12 pm
by AlaskaWX
iu1jvo wrote: Wed Jan 05, 2022 11:09 pm Hi Mattk,
You could use sensor wind0avgwind which provides the average wind speed in m/s and average time is dependent on station being used. Use one of the converters to convert m/s if mph or kn or kmh is required
the issue is that wind0wind sensor is linked to the wind0average provided by the davis console. But the Emulator of the Davis console do not provide the wind average.

So, after some search on google and this forum I found the solution!!

Thans to AlaskaWX and his Post, I write a meteobridge plugin that compute wind average and provide it on a new wind sensor.
Then I just need to remap the average wind sensor on the new one.

The code of the plugin is here: https://github.com/iu1jvo/meteobridge-plugins
I'm glad that someone is using my work for new plugins! Nice work.

Re: wind average Computed by Meteobridge

Posted: Mon Jan 10, 2022 6:25 pm
by iu1jvo
AlaskaWX wrote: Fri Jan 07, 2022 10:12 pm I'm glad that someone is using my work for new plugins! Nice work.
“If I have seen further, it is by standing on the shoulders of giants.” (Isac Newton)

no good work is done alone, but all fine works are done together.