Direction of Peak Gust

This section covers the Meteobridge PRO units exclusively

Moderator: Mattk

Mattk
Platinum Boarder
Platinum Boarder
Posts: 463
Joined: Mon Sep 22, 2014 3:24 am

Direction of Peak Gust

Post by Mattk » Sun Feb 04, 2018 11:36 pm

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:--]

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5365
Joined: Mon Oct 01, 2007 10:51 pm

Re: Direction of Peak Gust

Post by admin » Mon Feb 05, 2018 12:13 pm

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.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5365
Joined: Mon Oct 01, 2007 10:51 pm

Re: Direction of Peak Gust

Post by admin » Mon Feb 05, 2018 10:11 pm

I incorporated a nested variable replacement limited to 2 levels, so that your request can be handled:

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:--]
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.

Mattk
Platinum Boarder
Platinum Boarder
Posts: 463
Joined: Mon Sep 22, 2014 3:24 am

Re: Direction of Peak Gust

Post by Mattk » Mon Feb 05, 2018 10:51 pm

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?

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5365
Joined: Mon Oct 01, 2007 10:51 pm

Re: Direction of Peak Gust

Post by admin » Mon Feb 05, 2018 10:59 pm

Why not. If not, I will debug ;-)

ruzzi.f@gmail.com
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sat Dec 30, 2017 8:43 pm

Re: Direction of Peak Gust

Post by ruzzi.f@gmail.com » Fri Feb 16, 2018 11:47 pm

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

Mattk
Platinum Boarder
Platinum Boarder
Posts: 463
Joined: Mon Sep 22, 2014 3:24 am

Re: Direction of Peak Gust

Post by Mattk » Sat Feb 17, 2018 12:17 am

Trying to think of the relevance of the "peak gust direction" over a 10 minute period?

ruzzi.f@gmail.com
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sat Dec 30, 2017 8:43 pm

Re: Direction of Peak Gust

Post by ruzzi.f@gmail.com » Sat Feb 17, 2018 12:59 am

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

ruzzi.f@gmail.com
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sat Dec 30, 2017 8:43 pm

Re: Direction of Peak Gust

Post by ruzzi.f@gmail.com » Sat Feb 17, 2018 1:31 am

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

Mattk
Platinum Boarder
Platinum Boarder
Posts: 463
Joined: Mon Sep 22, 2014 3:24 am

Re: Direction of Peak Gust

Post by Mattk » Sat Feb 17, 2018 2:14 am

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.

ruzzi.f@gmail.com
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sat Dec 30, 2017 8:43 pm

Re: Direction of Peak Gust

Post by ruzzi.f@gmail.com » Sat Feb 17, 2018 10:16 am

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

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5365
Joined: Mon Oct 01, 2007 10:51 pm

Re: Direction of Peak Gust

Post by admin » Sat Feb 17, 2018 10:16 am

ruzzi.f@gmail.com wrote:
Fri Feb 16, 2018 11:47 pm
how would it be the sintax to have the direction of the wind peak of the last 10 minutes?
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.

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...

ruzzi.f@gmail.com
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sat Dec 30, 2017 8:43 pm

Re: Direction of Peak Gust

Post by ruzzi.f@gmail.com » Sat Feb 17, 2018 10:28 am

thank you very much!!!
It would be really great and useful ;)

Mattk
Platinum Boarder
Platinum Boarder
Posts: 463
Joined: Mon Sep 22, 2014 3:24 am

Re: Direction of Peak Gust

Post by Mattk » Sat Feb 17, 2018 10:59 am

ruzzi.f@gmail.com wrote:
Sat Feb 17, 2018 10:16 am
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
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?

wsnoordbergum
Senior Boarder
Senior Boarder
Posts: 62
Joined: Wed Jan 14, 2015 12:33 pm

Re: Direction of Peak Gust

Post by wsnoordbergum » Sat Feb 17, 2018 7:01 pm

Any chance of this being implemented in the standard meteobridge?
See also:
viewtopic.php?f=56&t=12521

Thanks

Post Reply