Direction of Peak Gust
Moderator: Mattk
Direction of Peak Gust
Should the direction of the peak gust (for say today) be available via the @YYYYMMDDhhmm specifier inside a Selector?
Something like "[wind0dir-avg@20180204022950.0:--] Degrees" works manually with the @ specifier derived from [wind0wind-dmaxtime]
but missing something (simple) in the syntax trying to include it all in 1 function such as the following
[wind0dir-avg@{*[wind0wind-dmaxtime]*0}.0:--]
Something like "[wind0dir-avg@20180204022950.0:--] Degrees" works manually with the @ specifier derived from [wind0wind-dmaxtime]
but missing something (simple) in the syntax trying to include it all in 1 function such as the following
[wind0dir-avg@{*[wind0wind-dmaxtime]*0}.0:--]
Re: Direction of Peak Gust
Currently we don't support nested template variable replacements. This would need large changes in the processing of the templates.
But your request on the "peak wind speed direction" is making sense. I will think how to tangle this.
But your request on the "peak wind speed direction" is making sense. I will think how to tangle this.
Re: Direction of Peak Gust
I incorporated a nested variable replacement limited to 2 levels, so that your request can be handled:
Example 1:
This will report the wind gust max at the hour with the highest temperature of the year. "[th0temp-ymaxtime.aj:--]" reports the first 10 digits of the time stamp of the highest temp of the year, in my case this returns "2018012418" which is January 2018, 24 at 6 PM. Resulting template variable "[wind0wind-max@2018012418.1:--]" then returns in my case "13.0" degrees Celsius.
Example 2:
This will report main wind direction in the hour in which the maximum gust of the month happened. "[wind0wind-mmaxtime.aj:--]" reports the first 10 digits of the time stamp of the highest wind gust of the month, in my case this returns "2018020111" which is February 2018, 1 at 11 AM. Resulting template variable "[wind0dir-avg@2018020111=endir:--]" then returns in my case "NW" as direction which is indeed our main storm direction..
I hope this add on does help. Updates version of Meteobridge has just been released.
Example 1:
Code: Select all
[wind0wind-max@[th0temp-ymaxtime.aj:--].1:--]
This will report the wind gust max at the hour with the highest temperature of the year. "[th0temp-ymaxtime.aj:--]" reports the first 10 digits of the time stamp of the highest temp of the year, in my case this returns "2018012418" which is January 2018, 24 at 6 PM. Resulting template variable "[wind0wind-max@2018012418.1:--]" then returns in my case "13.0" degrees Celsius.
Example 2:
Code: Select all
[wind0dir-avg@[wind0wind-mmaxtime.aj:--]=endir:--]
I hope this add on does help. Updates version of Meteobridge has just been released.
Re: Direction of Peak Gust
Thanks Boris, that looks good. I should have a Lufft WS200 early next week to check out so hopefully it will work with the WS600 settings/variables for wind only?
Re: Direction of Peak Gust
Why not. If not, I will debug 

-
- Junior Boarder
- Posts: 25
- Joined: Sat Dec 30, 2017 8:43 pm
Re: Direction of Peak Gust
hi Boris, this looks gorgeous!!!!
how would it be the sintax to have the direction of the wind peak of the last 10 minutes?
thanks
fabio
how would it be the sintax to have the direction of the wind peak of the last 10 minutes?
thanks
fabio
Re: Direction of Peak Gust
Trying to think of the relevance of the "peak gust direction" over a 10 minute period?
-
- Junior Boarder
- Posts: 25
- Joined: Sat Dec 30, 2017 8:43 pm
Re: Direction of Peak Gust
hi matt. actually it is very relevant.
sometimes wind main direction can be for example NW (avg wind last 10 min), but the stronger gush do not come from NW but maybe from N.
It is very frequent when wind is gushy, so it is useful to know from which direction came the stronger gush in last period (10 minutes)
thanks
fabio
sometimes wind main direction can be for example NW (avg wind last 10 min), but the stronger gush do not come from NW but maybe from N.
It is very frequent when wind is gushy, so it is useful to know from which direction came the stronger gush in last period (10 minutes)
thanks
fabio
-
- Junior Boarder
- Posts: 25
- Joined: Sat Dec 30, 2017 8:43 pm
Re: Direction of Peak Gust
please have a look to my site:
207.154.209.210/pippo
you can see 3 compasses showing:
1) current wind & direction
2) avg wind & direction last 10 minutes
3) max wind & direction last 10 minutes
Data are updated every 5 seconds
All data are very relevant for sailing for example.
At the moment i am uploading 5 of the 6 data correctly through meteobridge pro, but i cannot upload the wind direction of the max gust .
Is the new template capable to create the wind direction of the max gust in the last 10 minutes?
thanks
fabio
207.154.209.210/pippo
you can see 3 compasses showing:
1) current wind & direction
2) avg wind & direction last 10 minutes
3) max wind & direction last 10 minutes
Data are updated every 5 seconds
All data are very relevant for sailing for example.
At the moment i am uploading 5 of the 6 data correctly through meteobridge pro, but i cannot upload the wind direction of the max gust .
Is the new template capable to create the wind direction of the max gust in the last 10 minutes?
thanks
fabio
Re: Direction of Peak Gust
But the peak gust direction in the past 10 minutes can be nothing more than an instantaneous blip which can have little to no relevance over the wind cycle and typically when the wind is gusty it does generally angle from a reasonably constant direction and this is one reason why "range" can be more meaningful to understanding the real/actual conditions.
-
- Junior Boarder
- Posts: 25
- Joined: Sat Dec 30, 2017 8:43 pm
Re: Direction of Peak Gust
matt, depends on the reason why you need to know wind conditions.
Our scope is sailing. And to know that when you have peak, the direction is different from the average direction, is very relevant, even if it is an istant. Also the peak wind intensity is an istantaneous data.
I make an example.
Immagine that wind average is 15 knots and direction average is 315 degrees. Sometimes happens that wind is gusty, and you have peaks even with 25-30 knots. It is important to know if during this peak the direction is similar to the average or.....maybe coming from 350-360 degrees!
Fabio
Our scope is sailing. And to know that when you have peak, the direction is different from the average direction, is very relevant, even if it is an istant. Also the peak wind intensity is an istantaneous data.
I make an example.
Immagine that wind average is 15 knots and direction average is 315 degrees. Sometimes happens that wind is gusty, and you have peaks even with 25-30 knots. It is important to know if during this peak the direction is similar to the average or.....maybe coming from 350-360 degrees!
Fabio
Re: Direction of Peak Gust
The implementation shown above uses the "@" pattern to address data from the USB storage of a MB PRO that holds all the weather data history. This storage is limited to an hourly resolution. So this way you cannot get data from smaller time frames.ruzzi.f@gmail.com wrote: ↑Fri Feb 16, 2018 11:47 pmhow would it be the sintax to have the direction of the wind peak of the last 10 minutes?
In addition we have a cache of live data which is covering the last x hours where we have data on a per minute base. I will think how to address data from there. Please give me a few days to explore some ideas. I cannot promise a solution but will start thinking...
-
- Junior Boarder
- Posts: 25
- Joined: Sat Dec 30, 2017 8:43 pm
Re: Direction of Peak Gust
thank you very much!!!
It would be really great and useful
It would be really great and useful

Re: Direction of Peak Gust
Ok so peak gust wind direction in the last 10 minutes will be in hindsight, how will this benefit you? If you are sailing wouldn't some data on a say a 5 sec basis be of more benefit?ruzzi.f@gmail.com wrote: ↑Sat Feb 17, 2018 10:16 ammatt, depends on the reason why you need to know wind conditions.
Our scope is sailing. And to know that when you have peak, the direction is different from the average direction, is very relevant, even if it is an istant. Also the peak wind intensity is an istantaneous data.
I make an example.
Immagine that wind average is 15 knots and direction average is 315 degrees. Sometimes happens that wind is gusty, and you have peaks even with 25-30 knots. It is important to know if during this peak the direction is similar to the average or.....maybe coming from 350-360 degrees!
Fabio
- wsnoordbergum
- Expert Boarder
- Posts: 105
- Joined: Wed Jan 14, 2015 12:33 pm
- Location: Friesland/Netherlands
- Contact:
Re: Direction of Peak Gust
Any chance of this being implemented in the standard meteobridge?
See also:
viewtopic.php?f=56&t=12521
Thanks
See also:
viewtopic.php?f=56&t=12521
Thanks