Wind Direction Question For Dean Davis
Steve Rhodes
steve at qi-journal.com
Mon Nov 23 17:41:07 EST 2015
Thanks Dean,
Only request would be a wind "gust" measurement... but I think I remember you saying once that it was meaningless or impossible when using the old Davis Pro system. Maybe it is there now... haven't looked for it for it lately.
On Nov 23, 2015, at 02:33 PM, Dean Davis <afterten at gmail.com> wrote:
> I'm doing a new release in the next few days. I'll go over the dictionary and add all the possible barometer values and make sure the wind directions are OK.
> Any requests?
>
> As far a cardinal wind directions, check this out.
> I think I conform to this but I'll double check.
> http://climate.umn.edu/snow_fence/components/winddirectionanddegreeswithouttable3.htm
>
> Dean
>
>
> On Mon, Nov 23, 2015 at 3:59 PM, Steve Rhodes <steve at qi-journal.com> wrote:
> George, I get a whole number from Applescript for wind direction. I put WeatherTracker's "AllConditions" verb into a list and then pull all my data from that list. The wind direction is the 9th item.
>
> What I do notice is that the values I get from Applescript are not always the same as what I see in the software. For instance, the barameter values from Applescript have not been adjusted for altitude, so I have to do that adjustment within the script.
>
> tell application "WeatherTracker" -
> tell Station "xxx"
> set AllConditions to All Conditions as list
> set OutdoorTemp to item 1 of AllConditions
> set OutdoorHumidity to item 2 of AllConditions
> set CurrentPressure to item 6 of AllConditions
> set CurrentPressureM to (CurrentPressure * 33.86)
> set WindSpeed to item 8 of AllConditions
> set WindSpeedK to (WindSpeed / 0.621371)
> set WindSpeedAvg to item 13 of AllConditions
> set WindSpeedAvgK to (WindSpeedAvg / 0.621371)
> set WindDirection to item 9 of AllConditions
> etc. etc.
>
> On Nov 23, 2015, at 11:31 AM, George Handley <ghandley at kc.rr.com> wrote:
>
>> Dean,
>>
>> Your weather suite of commands states that the wind direction is an integer from 0 to 360, but I just finally noticed that my wind is always from the southeast. So I checked it in the XTension log and see that my wind direction is:
>>
>> 11/23/15 12:22:02 PM The wind direction is 1.390692563401E-309
>>
>> I just added a test line to the script to write to the log the actual value received from you to understand why I’m getting the above obscure number, and it says:
>>
>> 11/23/15 1:20:11 PM The wind direction before conversion is: WSW
>>
>> So I’m writing to find out what I’m doing wrong, or have you completely changed what this field holds… IE. test now and not an integer?
>>
>> If so what is WSW… West South West? That’s NOT a wind direction. If you are already reducing their compass degree number from 0-360 to some kind of text, could you please send me the new directions, because I’m not getting any integer.
>>
>> Thanks,
>>
>> George
>>
>> _______________________________________________
>> XTensionList mailing list
>> XTensionList at machomeautomation.com
>> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20151123/39fe1488/attachment.html>
More information about the XTensionList
mailing list