Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: Bull Winkus on December 20, 2014, 04:36:35 AM

Title: Synthetic Channel ∆P Question
Post by: Bull Winkus on December 20, 2014, 04:36:35 AM
Hey guys! Has anyone tried to come up with a synthetic channel to track change rate? I want to create a pressure change gauge that deviates from zero at the center of the scale to the minus side on descending pressure and to the plus side on ascending pressure, co-measurant with the rate of change.

I made an attempt with the difference between current pressure and the daily average, but I don't think that is the ideal formula. It only measures deviation from average.

set diff to Param1 - Param2 (where Param1 is current pressure and Param2 is daily average)
set result to diff * 4

Any ideas?
Title: Re: Synthetic Channel ∆P Question
Post by: WCDev on December 20, 2014, 01:37:12 PM
Difficult to do it at the moment - what you'd need is a way to access the pressure some time in the past and currently there's no way of doing this from Apple Script - I'll add it to the feature request list  [tup]

Title: Re: Synthetic Channel ∆P Question
Post by: Bull Winkus on December 20, 2014, 03:08:47 PM
Thanks Stu! Looking forward to using it.

Happy holidays!
Title: Re: Synthetic Channel ∆P Question
Post by: WCDev on December 28, 2014, 02:58:45 PM
Sorry Herb, I am an idiot - try this in your channel:

return PressureDelta3

(change to PressureDelta1 if you want the 1 hour delta).