Page 1 of 1

Cloudbase Problem

Posted: Mon 29 May 2023 6:38 am
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

Re: Cloudbase Problem

Posted: Thu 14 Sep 2023 2:01 am
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

Re: Cloudbase Problem

Posted: Fri 15 Sep 2023 12:35 am
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

Re: Cloudbase Problem

Posted: Fri 15 Sep 2023 4:51 am
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

Re: Cloudbase Problem

Posted: Fri 15 Sep 2023 7:56 am
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,

Re: Cloudbase Problem

Posted: Fri 15 Sep 2023 10:22 pm
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

Re: Cloudbase Problem

Posted: Sat 16 Sep 2023 1:33 am
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

Re: Cloudbase Problem

Posted: Sat 16 Sep 2023 9:46 pm
by griffo42
@BCJKiwi

Thank you. Will update my version.

Keith