wind average Computed by Meteobridge **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
User avatar
iu1jvo
Junior Boarder
Junior Boarder
Posts: 22
Joined: Tue Jan 04, 2022 10:44 am

wind average Computed by Meteobridge **solved**

Post 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.
Last edited by iu1jvo on Wed Jan 05, 2022 11:11 pm, edited 2 times in total.
Image
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1395
Joined: Mon Sep 22, 2014 3:24 am

Re: wind average Computed by Meteobridge

Post 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
User avatar
iu1jvo
Junior Boarder
Junior Boarder
Posts: 22
Joined: Tue Jan 04, 2022 10:44 am

Re: wind average Computed by Meteobridge

Post 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
Image
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1395
Joined: Mon Sep 22, 2014 3:24 am

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

Post 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?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: wind average Computed by Meteobridge

Post 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!
User avatar
iu1jvo
Junior Boarder
Junior Boarder
Posts: 22
Joined: Tue Jan 04, 2022 10:44 am

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

Post 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...
Image
User avatar
AlaskaWX
Junior Boarder
Junior Boarder
Posts: 36
Joined: Thu Apr 05, 2012 7:46 pm

Re: wind average Computed by Meteobridge

Post 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.
Davis VP2 with IIS and Leaf/Soil + numerous user defined plugin weather stations
User avatar
iu1jvo
Junior Boarder
Junior Boarder
Posts: 22
Joined: Tue Jan 04, 2022 10:44 am

Re: wind average Computed by Meteobridge

Post 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.
Image
Post Reply