Page 1 of 1
Problems with apparent temperature
Posted: Tue 12 Jul 2011 8:21 am
by ortega
Hi!
I have problems with apparent temperatures.
In the cumuluswebtags.txt (1.15) there´s a tag under all time high for Apparent temperature ($apptempH), cumulus doesn´t process this tag to the cumuluswebtags.php but the time-tag is processed with correct time and date.
The tag ($apptempL) works fine.
Someone else having this problem?
/Daniel
Re: Problems with apparent temperature
Posted: Tue 12 Jul 2011 8:40 am
by steve
Where did you get this file? It looks like whoever created it has confused dew point and apparent temperature - possibly it's a "cut and paste" error. What does that line which starts "$dewpointH" look like in the original file - the one with the web tags in it? The items starting with "$" aren't Cumulus web tags, they are PHP variables. The Cumulus web tag for all-time high apparent temperature is "<#apptempH>".
Re: Problems with apparent temperature
Posted: Tue 12 Jul 2011 8:41 am
by mcrossley
If you look in the cumuluswebtags.txt file, you will see the closing ">" characters are missing for the dew point section just before the apparent temp section. Fix this and you should be OK.
Re: Problems with apparent temperature
Posted: Tue 12 Jul 2011 8:42 am
by mcrossley
Re: Problems with apparent temperature
Posted: Tue 12 Jul 2011 10:17 am
by steve
Thanks, Mark, all is now clear.
Re: Problems with apparent temperature
Posted: Tue 12 Jul 2011 10:26 am
by mcrossley
Unfortunately I cannot see the file in the Wiki file store through the 'files' page, so I cannot update it. David (or yourself?) will have to do it.
Re: Problems with apparent temperature
Posted: Tue 12 Jul 2011 11:23 am
by steve
mcrossley wrote:Unfortunately I cannot see the file in the Wiki file store through the 'files' page
Nor can I

Re: Problems with apparent temperature
Posted: Tue 12 Jul 2011 11:27 am
by mcrossley
I just tried uploading a corrected version anyway, and the site doesn't allow it - error message:
"Files of the MIME type "application/x-php" are not allowed to be uploaded."
Which would imply the wrong MIME type is set on the server for .txt files?
txt is listed as an allowed file extension.
Re: Problems with apparent temperature
Posted: Wed 13 Jul 2011 11:35 am
by ortega
Superb "mcrossley"!
Thank you very much, you made my day...
I hope you manage to fix the file in the wiki. /Daniel
Re: Problems with apparent temperature
Posted: Wed 13 Jul 2011 5:34 pm
by daj
Just to confirm, the Wiki has been updated