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 Problem

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Cloudbase Problem

Post by griffo42 »

I am running Cloudbase developed by BCJKiwi for use with CumulusMX on a Saratoga Template. It keeps on telling me that there is a "500" error with it: I have had no joy in finding how to fix it.
It also has appeared in the error file for this template and is evidenced by the 2 samples of the error in the attachment.

Could someone have a resolution of this please.

I run Windows 11 with 16Gb RAM and 1Tb SSD.

Thanks

Keith
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cloudbase Problem

Post by griffo42 »

This is not a problem but a request to seek confirmation of my action.

Today, I noticed that the background of the cloudbase was showing a decidedly wintery picture. It is now officially Spring here in Australia. The four seasons here officially change on the 1st day of September, December, March and June rather than on the equinoxes/solstices.

In an effort to accommodate this, I have changed lines 538 to 542 in cloudbaseCUmx.php to:

if ($switchSeasons) {
if (empty($marEquinox )) {$marEquinox = mktime(0,0,0, 3,1);} // approximately (Hr,Min,Sec,Mo,Day)
if (empty($junSolstice)) {$junSolstice = mktime(0,0,0, 6,1);}
if (empty($sepEquinox )) {$sepEquinox = mktime(0,0,0, 9,1);}
if (empty($decSolstice)) {$decSolstice = mktime(0,0,0,12,1);}

and it seems to work.

Are there any other changes that I should make?

Thanks
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
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 Problem

Post by BCJKiwi »

Hi, There is a lot of confusion about the start and ends of seasons.

WeatherWatch ( New Zealand ) managing director Philip Duncan suggests as many as four starting dates for the New Zealand spring:

Astronomical dates – based around the equinox and solstice, so nominally September 21.
Meteorological dates – the tidy three-month division of the year into seasons, so September 1.
The solar winter – the three "darkest" months with the June 21-22 winter solstice in the middle, so about August 8.
Nature – hard to pin down.

However my Saratoga site Almanac page says the start of spring is on the vernal equinox which is on the 23rd September !

The settings used in the cloudbase image are based on the equinoxes
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cloudbase Problem

Post by griffo42 »

@BCJKiwi

Thanks for all of that. I think that I know where you are coming from - and perhaps rightly too. My alteration of your season dates is based on:

http://www.bom.gov.au/climate/glossary/seasons.shtml

The changes that I have made seem to work.

best wishes

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Cloudbase Problem

Post by BeaumarisWX »

That's the same as what I use Keith.
https://beaumaris-weather.com/wxcloudtypes.php
Screenshot 2023-09-15 190606.PNG.jpg
Kindest Regards,
You do not have the required permissions to view the files attached to this post.
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cloudbase Problem

Post by griffo42 »

Thanks Tony for your reply which confirms what I have done in relation to Aussie season dates.

I like your site.

Best wishes

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
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 Problem

Post by BCJKiwi »

Have tweaked the cloudbaseCUmx.php script to provide the option of Meteorological or Astronomical dates in the optional settings section.

There have been numerous updates to this file since the version you are using.

The updates are mostly to keep up with the current version of PHP.
This latest version 2.2.7 dated 16-September-2023 is compatible with php versions up to 7.4.33 and 8.2.11

Have attached the updated file.
cloudbaseCUmx.zip
You do not have the required permissions to view the files attached to this post.
Last edited by BCJKiwi on Thu 12 Oct 2023 12:23 am, edited 1 time in total.
griffo42
Posts: 231
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Cloudbase Problem

Post by griffo42 »

@BCJKiwi

Thank you. Will update my version.

Keith
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
Post Reply