Author Topic: Wind Run Record  (Read 1363 times)

Blicj11

  • Storm
  • *****
  • Posts: 4061
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.3 | WeatherCat 3.3 | Supportive Wife
Wind Run Record
« 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?
Blick


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6661
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
I don't know how to do this! (Re: Wind Run Record)
« Reply #1 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