Page 1 of 1
Cloudbase tag
Posted: Fri 10 Jun 2011 12:39 pm
by dvandellen
Is there a way to change the cloudbase in km's instead of ft?
Thanks in advance,
D.van Dellen
http://www.weerstationniawier.nl
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 12:43 pm
by mcrossley
As far as I know, only by using some Javascript on your webpage.
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 12:44 pm
by steve
No, sorry - currently only metres or feet.
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 12:47 pm
by steve
mcrossley wrote:As far as I know, only by using some Javascript on your webpage.
Yes - it's a bit harder because the tag includes the units, I may do something about that.
But TBH the cloud base figure isn't what I consider to be a very serious part of Cumulus or deserving of much of my effort.
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 12:53 pm
by dvandellen
How do i change it to metres then?
I dont use the figure, only want to display the text...
Thanks in advance...
D.van Dellen
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 1:41 pm
by steve
In the display settings.
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 4:10 pm
by dvandellen
ive already selected meters in cumulus but in the file webtaggs.php it still is feet.
pls check the link
http://www.weerstationniawier.nl/test.php
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 5:25 pm
by steve
This is what I get when I have metres selected:
$cloudbase = "283 m"; // calculated cloud base
and this is what I get when I have feet selected:
$cloudbase = "931 ft"; // calculated cloud base
And the main Cumulus display on my PC changes correspondingly. I'm afraid I have no idea why it apparently doesn't work for you.
Re: Cloudbase tag
Posted: Fri 10 Jun 2011 5:27 pm
by mcrossley
Works for me too Steve - v1.9.1
Re: Cloudbase tag
Posted: Mon 13 Jun 2011 3:56 am
by MickinMoulden
I see it works for him too now. Perhaps you needed to wait for an update, or was it a PEBKAC error

?
I've (and just for fun!) used Javascript to take out the "m" to have just the number used in the cloudbase figure and used it to calculate the "Chance of Rain"...just for fun. I'm guessing this would only work in my part of the world though.
Re: Cloudbase tag
Posted: Mon 13 Jun 2011 3:57 am
by MickinMoulden
Oh, and yes there is. Do you want it, or are you happy with meters?
Re: Cloudbase tag
Posted: Tue 14 Jun 2011 9:28 am
by dvandellen
It works now...
Thanks