Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

Discussion of Ken True's web site templates

Moderator: saratogaWX

User avatar
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.1

Post by gluepack »

1059 is official.

Perhaps we have different opinions as to what constitutes Beta ;)

But I do see that it says that it requires 1070 or later :)
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
BCJKiwi
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.1

Post by BCJKiwi »

Paul
I have looked at the time issues.
As you are running the Cumulus website rather than the Saratoga, you should be able to fix this by changing;

Code: Select all

$tz = 'America/Toronto';   // change to suit your local time zone
to;

Code: Select all

$timezone = 'America/Toronto';   // change to suit your local time zone
                   date_default_timezone_set($timezone);
For Saratoga users it seems not to be an issue in its present form but will update the script to cover both.
Last edited by BCJKiwi on Wed 14 Aug 2013 11:12 am, edited 1 time in total.
BCJKiwi
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.1

Post by BCJKiwi »

Gluepack
I added the note re 1070 - it was not there before.
If you check out Steve's comments where he has been asked about this before, he advises later versions are 'safe' to use.
pdmguru wrote:

Any ideas when V1.9.4 will be "released"
I'm not in any particular hurry; it's already available for anyone who wants to use it. There don't seem to be any issues with it. It's convenient for me to have a current "beta" to do updates, even if it's now quite mature.
I have a fix for you. However I would prefer to wait a little while to see if any other issues arise so I can include fixes in a new version.
User avatar
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.1

Post by gluepack »

Lol, well at least you are honest about it. I could well have missed it.

Anyway, I have upgraded to latest beta and, touch wood, all seems ok (the snow has disappeared ;) although, in real, we are in a deep fog which I haven't seen for over a year now).
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
BCJKiwi
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.1

Post by BCJKiwi »

Gluepack
Well I do like to be open about these things.
I added it the first post as I felt it was important that anyone downloading the script for the first time should know about it.
User avatar
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.1

Post by gluepack »

I have reduced the margins to 1 on the bottom line (and for conditions) as the text was a bit tight with everything on there. The spacing is much better now.
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: CloudBase script for Cumulus Ver CU1.1

Post by PaulMy »

BCJKiwi wrote:Paul
I have looked at the time issues.
As you are running the Cumulus website rather than the Saratoga, you should be able to fix this by changing;

Code: Select all

$tz = 'America/Toronto';   // change to suit your local time zone
to;

Code: Select all

$timezone = 'America/Toronto';   // change to suit your local time zone
                   date_default_timezone_set($timezone);
For Saratoga users it seems no to be an issue in its present form but will update the script to cover both.
Thank you, I have made the change and it is now showing America/Toronto.

I have it as a link under my Current Conditions heading: "Sky Condition" and now trying to understand/figure out how to show the image on the main page

I also have the Saratoga templates http://www.komokaweather.ca and will look to add it there as well on the main page but that will be a challenge :?

Thanks again for your work and help,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
BCJKiwi
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.1

Post by BCJKiwi »

As I mentioned to Gluepack, I replaced the Outlook panel with the cloudbase image but that did require widening the 'narrow' dashboard and the column that it is in.
I chose that location as the outlook is replicated in the forecast section lower down on the dashboard.
BCJKiwi
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.1

Post by BCJKiwi »

Gluepack,
You modification makes the caption look much better - good job!
I have changed the Humidity to one decimal place and made what I presume are the same adjustments you did and now have the same result as your site currently displays.

This will be incorporated into the next version
Thanks.
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: CloudBase script for Cumulus Ver CU1.1

Post by PaulMy »

I have it as a link under my Current Conditions heading: "Sky Condition" and now trying to understand/figure out how to show the image on the main page

I also have the Saratoga templates http://www.komokaweather.ca and will look to add it there as well on the main page but that will be a challenge :?
and found a way :o

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
BCJKiwi
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.1

Post by BCJKiwi »

Well that (and Gluepack's) solution shows the value of the original concept from Rainer - a graphic that you can put pretty much anywhere!
n9mfk
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.1

Post by n9mfk »

Hi BCJKiwi,


im not sure what i did wrong htttp://99.46.241.66/test/cloudbaseCU.php?html=1
im not get the marker

I have a few questions
1. is $stationAltitude in feet or meters?
2. is the correct hemisphere picked by the script for the moon or does it mneed to be set
3. are there any settings for how often cloudbaseCU.txt is updated?
4. is there any way to get the $cloudheight out of the script like $cloudheightfeet?
thanks Beau
BCJKiwi
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.1

Post by BCJKiwi »

n9mfk wrote:Hi BCJKiwi,


im not sure what i did wrong htttp://99.46.241.66/test/cloudbaseCU.php?html=1
im not get the marker

I have a few questions
1. is $stationAltitude in feet or meters?
2. is the correct hemisphere picked by the script for the moon or does it mneed to be set
3. are there any settings for how often cloudbaseCU.txt is updated?
4. is there any way to get the $cloudheight out of the script like $cloudheightfeet?
thanks Beau
When it is clear, there are no clouds so no marker, no cloudheight , no cloud temp
1. it is in whatever units Cumulus is delivering - in your case ft
2. The hemisphere comes from $lat (<#latitude dp=0> delivered in the tag file ) - used for seasons and to get the moon the right way around
3. updated at the same time as all the other web updates - via the FTP settings in Cumulus
4. Don't understand. Please explain what you want to achieve in more detail. The cloudheight is either the one Cumulus sends, or is calculated instead. If you don't want it at all, the script would need to be modified (another switch).
n9mfk
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.1

Post by n9mfk »

Hi BCJKiwi,

here what I was talking about
were $cloudheightfeet wood come from the script not cumulus

Code: Select all

<img src="cloudbaseCU.php?alt=<?php echo $cloudheightfeet; ?>ft" alt="" title="<?php echo $cloudheighyfeet; ?>ft ASL" height="200" width="90"]
BCJKiwi
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.1

Post by BCJKiwi »

I still don't understand.

You want the cloud height to be displayed?
you want it in feet?
Your units are already imperial?
Your cloud height should be in feet already - ?html=1 indicates it is already.

It appears form your pseudo code that you want to pass some other number which is not the actual cloud height in cumulus nor the standard calculation. If this is what you want to do I have no idea why you would want to do that. Where would the cloud height come from?

If you have some other source for cloud height then how is it used elsewhere on your site?

You can see I'm struggling here. If you can tell me what you want to achieve rather than what you feel the answer is, I might be able to suggest something. However, this is a standard script and unless the change is useful to many, then you may have to change the script yourself to suit your own special requirements.
Post Reply