Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
CloudBase script for Cumulus Ver CU1.5
Moderator: saratogaWX
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.3
UPDATE to Ver CU1.3 posted
See first post for details and download.
See first post for details and download.
-
- Posts: 845
- Joined: Sun 10 May 2009 8:52 pm
- Weather Station: davis vp2 Serial datalogger
- Operating System: Windows 7 64-bit
- Location: Springfield, IL
Re: CloudBase script for Cumulus Ver CU1.3
Hi BCJKiwi
The new Version id not printing in English
http://99.148.157.210/working/cloudbaseCU.php?html=1
Thanks Beau
The new Version id not printing in English
http://99.148.157.210/working/cloudbaseCU.php?html=1
Thanks Beau
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.3
Sorry, left in the test set of translated captions for $translate = false;
Have updated the downloads in post 1 above to English defaults for $translate = false;
So you have a two options,
1. download the update again
2. just edit the translations by copy paste the English versions that are specially placed adjacent at lines 346 - 356 as noted in the script and the HowTo
Thanks for letting me know this was an issue for you.
Have updated the downloads in post 1 above to English defaults for $translate = false;
So you have a two options,
1. download the update again
2. just edit the translations by copy paste the English versions that are specially placed adjacent at lines 346 - 356 as noted in the script and the HowTo
Thanks for letting me know this was an issue for you.
-
- Posts: 845
- Joined: Sun 10 May 2009 8:52 pm
- Weather Station: davis vp2 Serial datalogger
- Operating System: Windows 7 64-bit
- Location: Springfield, IL
Re: CloudBase script for Cumulus Ver CU1.3
The Fix woks Great
I had a question if $onlyUseMetar = false; what data is used?
thanks for all your great work
Beau
I had a question if $onlyUseMetar = false; what data is used?
thanks for all your great work
Beau
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.3
Interesting Question.
For any Metar functionality you must first have $getMetar = true;
Then,
$useMetarAtNight = true;
and
$onlyUseMetar = true;
are both 'selectors' to determine when Metar is used. If Metar is NOT used then the Cumulus forecast number is used instead
The settings are used here; so firstly $metcond must not be null - i.e. there must be metar data.
Then the part before the || decides if Metar is used at Night,
and
the part after the || decides if Metar is used all the time, i.e. if $onlyUseMetar = true; then $useMetarAtNight is over-ridden.
If $getMetar = true;
but BOTH $useMetarAtNight = false; AND $onlyUseMetar = false;
Metar will be downloaded but not used - confusing isn't it!
This is all the way it is in the original
For any Metar functionality you must first have $getMetar = true;
Then,
$useMetarAtNight = true;
and
$onlyUseMetar = true;
are both 'selectors' to determine when Metar is used. If Metar is NOT used then the Cumulus forecast number is used instead
The settings are used here;
Code: Select all
if ($metcond != null) {
if(($getMetar && $metarICAO!="" && $useMetarAtNight && $night) || ($getMetar && $metarICAO!="" && $onlyUseMetar)) {
$curcond = nameCloudsFromMetar($metcond);
}
}
Then the part before the || decides if Metar is used at Night,
and
the part after the || decides if Metar is used all the time, i.e. if $onlyUseMetar = true; then $useMetarAtNight is over-ridden.
If $getMetar = true;
but BOTH $useMetarAtNight = false; AND $onlyUseMetar = false;
Metar will be downloaded but not used - confusing isn't it!
This is all the way it is in the original
- joewith
- Posts: 29
- Joined: Fri 18 May 2012 4:33 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10 Pro
- Location: Aurora, Colorado, USA
- Contact:
Re: CloudBase script for Cumulus Ver CU1.3
I have installed CloudBase script Version CU1.3 and really like it and would like to add it to my web site.
However, I am down to one problem though which has to do with the Degree symbol. I get another character inserted into the image ( see attached image ) and have not been able to find a solution as of yet. If anyone that has encountered this problem could please steer me in the right direction to resolve this issue I would sure appreciate it.
My link to the script is http://www.tigerdenweb.com/tigerdenwx/c ... php?html=1
Thanks,
Joe
However, I am down to one problem though which has to do with the Degree symbol. I get another character inserted into the image ( see attached image ) and have not been able to find a solution as of yet. If anyone that has encountered this problem could please steer me in the right direction to resolve this issue I would sure appreciate it.
My link to the script is http://www.tigerdenweb.com/tigerdenwx/c ... php?html=1
Thanks,
Joe
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.3
When you made your setting changes, what editor did you use?
This happens if the file is saved as UTF-8.
To generate the graphic properly, the file must be saved as ANSI
If you don't have an editor that allows you to change the Encoding, then I suggest you download Notepad++ (it's free) and you will see there is a menubar item 'Encoding', select that and from the drop down menu click on 'Convert to ANSI' and save.
This happens if the file is saved as UTF-8.
To generate the graphic properly, the file must be saved as ANSI
If you don't have an editor that allows you to change the Encoding, then I suggest you download Notepad++ (it's free) and you will see there is a menubar item 'Encoding', select that and from the drop down menu click on 'Convert to ANSI' and save.
- joewith
- Posts: 29
- Joined: Fri 18 May 2012 4:33 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10 Pro
- Location: Aurora, Colorado, USA
- Contact:
Re: CloudBase script for Cumulus Ver CU1.3
Thanks for the reply and solution. The problem was indeed the editor I was using "CoffeCup HTML Editor". Even though the default character set in my preferences states to us ANSI it converts to UTF-8. Guess I'll be looking for another package to manage my projects.
Anyhow in fixing that problem I stumbled onto another one. Suddenly my cloudbaseCU indicates that it is snowing but the temperature is close to or above 90 degrees. Any ideas?
Thanks,
Joe
Anyhow in fixing that problem I stumbled onto another one. Suddenly my cloudbaseCU indicates that it is snowing but the temperature is close to or above 90 degrees. Any ideas?
Thanks,
Joe
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.3
Well the decoding logic has managed to find SN in the middle of DSNT in the metar and decided it is SNowing.
DSNT apparently means 'distant' and I guess was not anticipated in the original program.
Your Denver Metar is very detailed which appears to include a number of codes that don't appear in any of the listings I have found.
Will study it in detail and see what fixes may be available.
Thanks
DSNT apparently means 'distant' and I guess was not anticipated in the original program.
Your Denver Metar is very detailed which appears to include a number of codes that don't appear in any of the listings I have found.
Will study it in detail and see what fixes may be available.
Thanks
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.4
27 August 2013
Now Ver CU1.4
See first post for details and download.
Now Ver CU1.4
See first post for details and download.
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: CloudBase script for Cumulus Ver CU1.4
Sorry, I don't see anywhere in notes or howto, what is cloudbaseCUWinDir.txt for and where does it go. Sure the note at the front of the file implies I don't need it and it may well be explained in the thread somewhere but...
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.4
The only relevant notes now regarding cloudbaseCUWinDir.txt are in the 'Translation options' section in the header of the script which is repeated in the HowTo.
The file contains a partial list as samples of the compass points on other laguages to use if you don't want English as the default.
They are only relevant for those with translation set to false or a non-English language and non Saratoga translations.
These instructions were changed when the wind dir optional settings were moved from Cumulus .ini to the script as noted in the change logs for ver 1.3 in the first post.
The file contains a partial list as samples of the compass points on other laguages to use if you don't want English as the default.
They are only relevant for those with translation set to false or a non-English language and non Saratoga translations.
These instructions were changed when the wind dir optional settings were moved from Cumulus .ini to the script as noted in the change logs for ver 1.3 in the first post.
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: CloudBase script for Cumulus Ver CU1.4
Oh, it now says it is raining even though we haven't had rain for god knows how long. It is cloudy though...
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CloudBase script for Cumulus Ver CU1.4
Hey,
Don't shoot the messenger
You are using Cumulus forecast number which is showing 21
// CU default is forecast number // Cumulus code description // original Zambretti
case 21: $curcond = $raining; break; // Occasional precipitation, worsening // Rain at times, worse later
Do you have a metar within a reasonable distance? Even if it is some way off, it may be more reliable than the forecast number.
Don't shoot the messenger
You are using Cumulus forecast number which is showing 21
// CU default is forecast number // Cumulus code description // original Zambretti
case 21: $curcond = $raining; break; // Occasional precipitation, worsening // Rain at times, worse later
Do you have a metar within a reasonable distance? Even if it is some way off, it may be more reliable than the forecast number.
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: CloudBase script for Cumulus Ver CU1.4
You're not the messenger, you're an interpreter.
I've already dropped the metar because it was unreliable. For a start, when I've checked, it has been at least three hours behind me and a 20 min drive (e.g. to the airport) from my location takes you into all sorts of different micro-climates.
I do understand how difficult it is to cater for all cases when writing software but a rainfall of 0.0 would tell me it isn't raining.
Even this...
case 21: $curcond = $raining; break; // Occasional precipitation, worsening // Rain at times, worse later
...(at least the comments) doesn't say it is raining.
I've already dropped the metar because it was unreliable. For a start, when I've checked, it has been at least three hours behind me and a 20 min drive (e.g. to the airport) from my location takes you into all sorts of different micro-climates.
I do understand how difficult it is to cater for all cases when writing software but a rainfall of 0.0 would tell me it isn't raining.
Even this...
case 21: $curcond = $raining; break; // Occasional precipitation, worsening // Rain at times, worse later
...(at least the comments) doesn't say it is raining.
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau