Page 1 of 1

Normals Figures

Posted: Mon Mar 26, 2018 4:48 pm
by LOBWX
Today I thought I might tackle the Normals Section in Main Setup.

I have been looking at some figures to use from a few Meteotemplate sites near me. The Yearly Report is what I have been looking at and, the monthly averages.

Does this sound about the right way to obtain the data for the normals figures?

Image

~Bob~

Re: Normals Figures

Posted: Mon Mar 26, 2018 6:49 pm
by Jachym
Hi,
correct, just looking at the screenshot make sure you get the units right, those temps seem to be in C

Re: Normals Figures

Posted: Mon Mar 26, 2018 8:40 pm
by LOBWX
Got It. Thanks again. ;)

Re: Normals Figures

Posted: Tue Mar 27, 2018 12:42 am
by Ken Good
I have found that every time I make a change to this page, I have to change the precipitation from mm's back to inches. It always reverts back to mm's the next time I open the page. Then if I do not change it back before I press save, it changes the yearly averages to mm's. This shows up on the rain balance block making all the averages way wrong.

Ken

Re: Normals Figures

Posted: Tue Mar 27, 2018 5:32 pm
by PSJohn
There's an error in the code in install/setup.php

line: 2347:

Code: Select all

<span class="mticon-rain" style="font-size:1.7em"></span>&nbsp;<strong>Precipitation normals</strong><br>
	Units:&nbsp;
	<select id="areaNormalsRUnits" name="areaNormalsRUnits">
		<option value="mm" <?php if($areaNormalsRUnits=="C"){echo "selected";}?>>mm</option>
		<option value="in" <?php if($areaNormalsRUnits=="F"){echo "selected";}?>>in</option>
	</select>
change to:

Code: Select all

<span class="mticon-rain" style="font-size:1.7em"></span>&nbsp;<strong>Precipitation normals</strong><br>
	Units:&nbsp;
	<select id="areaNormalsRUnits" name="areaNormalsRUnits">
		<option value="mm" <?php if($areaNormalsRUnits=="mm"){echo "selected";}?>>mm</option>
		<option value="in" <?php if($areaNormalsRUnits=="in"){echo "selected";}?>>in</option>
	</select>

Re: Normals Figures

Posted: Tue Mar 27, 2018 6:33 pm
by Jachym
I know, it is on the "bug list" for next version

Re: Normals Figures

Posted: Wed Mar 28, 2018 1:52 am
by LOBWX
Thanks, Gentlemen for the heads up.