Trixology
WeatherCat => WeatherCat General Discussion => Topic started by: macdengig on October 01, 2020, 10:00:40 PM
-
Hello everybody,
I would like to have a plot of the wind run f (time of day).
I studied all the possible ways to produce graphs in WeatherCat, but could not find any way to do it.
Any suggestions ?
-
Dear macdengig and WeatherCat DIY types,
I would like to have a plot of the wind run f (time of day).
I studied all the possible ways to produce graphs in WeatherCat, but could not find any way to do it.
Any suggestions ?
If you simply want a measure of the total wind, there is a way using the WeatherCat synthetic channel feature which is described starting on page 57 of the current WeatherCat manual.
Here is my synthetic channel for a weekly wind run graph:
(http://www.canebas.org/misc/Capto_images/Weekly%20wind%20run%20synthetic%20channel%202020-10-01.png)
Once you get past the legalize, what is actually doing the work is only two statements:
set Query to "STAT$WINDRUN:TOTAL:THISWEEK$"
set result to QueryResult
You can graph the synthetic channel like any other source of real data. Here is my graph of the wind run for this week:
(http://www.canebas.org/misc/Capto_images/Weekly%20wind%20run%20graph%202020-10-01.png)
You can change the period of the synthetic channel by modifying the STAT$ tag. It is described starting on page 205 of the WeatherCat manual. If you can seem to figure out how to get the results you want, don't hesitate to ask. The STAT$ is extremely powerful and therefore a bit tricky to use.
Cheers, Edouard
-
Thanks, elagache!
I will try to implement the script over the week-end.
Do you have to re-boot WeatherCat to make it work ?
A+ macdengig
-
And here is how you would change the channel to give you a daily wind run chart.
-- This Query tracks daily wind run and resets each day
set Query to "STAT$WINDRUN:TOTAL:TODAY$"
set result to QueryResult
The attached custom graph plots daily wind speed and wind run.
WeatherCat is powerful, and fun!
-
And (Spoiler Alert: Shameless self-promotion) you can also view the "Wind Run & Speed" graph in the "Custom Graphs" section of WeatherCatRCP on your iOS device.
-
Hahaha. I should have been smart enough to include that. One of the coolest features of the iOS app is the ability to see all your custom graphs and Custom Text Windows. The app is awesome!