Page 1 of 1

Calculate the mean value. **solved**

Posted: Wed Dec 14, 2016 9:08 pm
by Sperber
Hello, I'm trying to calculate the mean value.

With Temp Data is going:
{*[th0temp-dmax]+[th0temp-dmin]/2*1} (-5,6°C+0,7°C)/2= 2,45°C i have -2,1°C ok this 0,3°C is not the Problem
but Air pressure
{*[th0hum-dmin]+[th0hum-max]/2*1} (1028.5hpa+1024,6hpa)/2=1540,8hpa is a Problem !
only humidity and Air pressure do this.

please help

Re: Calculate the mean value.

Posted: Thu Dec 15, 2016 11:12 am
by Sperber
Helloo? Is this a ghost forum? I am alone here? :(

Re: Calculate the mean value.

Posted: Thu Dec 15, 2016 10:03 pm
by droiddk
Sperber wrote:Hello, I'm trying to calculate the mean value.

With Temp Data is going:
{*[th0temp-dmax]+[th0temp-dmin]/2*1} (-5,6°C+0,7°C)/2= 2,45°C i have -2,1°C ok this 0,3°C is not the Problem
but Air pressure
{*[th0hum-dmin]+[th0hum-max]/2*1} (1028.5hpa+1024,6hpa)/2=1540,8hpa is a Problem !
only humidity and Air pressure do this.

please help
Dont know If its a typo but in 1028.5hpa+1024,6hpa you have . and , as separator?

Regards

Re: Calculate the mean value.

Posted: Thu Dec 15, 2016 11:18 pm
by Sperber
Hello,

1028.5hpa+1024,6hpa=2053,1 /2 =1026,55hpa that is correct,
but i have 1540,8hpa

for example (0+5)/2=2,5

I need only the correct spelling for the meteobridge code, then I know if takes my Vantage pro2 wrong values .

Re: Calculate the mean value.

Posted: Sat Dec 17, 2016 1:42 pm
by admin
Sperber wrote: but Air pressure
{*[th0hum-dmin]+[th0hum-max]/2*1} (1028.5hpa+1024,6hpa)/2=1540,8hpa is a Problem !
1) th0hum is not about air pressure
2) formular is not taking into account that a value might not be there
3) brackets are missing. Average is "(a+b)/2" not "a+b/2"