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
Calculate the mean value. **solved**
Moderator: Mattk
Re: Calculate the mean value.
Helloo? Is this a ghost forum? I am alone here? 

Re: Calculate the mean value.
Dont know If its a typo but in 1028.5hpa+1024,6hpa you have . and , as separator?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
Regards
Re: Calculate the mean value.
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 .
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.
1) th0hum is not about air pressureSperber wrote: but Air pressure
{*[th0hum-dmin]+[th0hum-max]/2*1} (1028.5hpa+1024,6hpa)/2=1540,8hpa is a Problem !
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"