Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: Blicj11 on February 07, 2024, 12:39:54 AM

Title: Wind Run Record
Post by: Blicj11 on February 07, 2024, 12:39:54 AM
I am having an old man brain freeze and need some help. What is the simplest way to find which day had the highest wind run?
Title: I don't know how to do this! (Re: Wind Run Record)
Post by: elagache on February 07, 2024, 10:09:55 PM
Dear Blick and WeatherCat data-miners,

I am having an old man brain freeze and need some help. What is the simplest way to find which day had the highest wind run?

Good question!

Honestly, I don't if you can get this out of WeatherCat.  I tried various versions of the STAT$ tag and cannot seem to get anything.  I used a tiny AppleScript.  Here is an example:

Code: [Select]
set MaxWindRun to ""

tell application "WeatherCat"
set Query to "STAT$WINDRUN:MAX:ALLTIME"
set MaxWindRun to QueryResult
end tell

"Test yields this value " & MaxWindRun

However, no matter what I try, the script only returns 0.

Anyone else have some thoughts on this one?

Edouard