Page 1 of 7

Moon Phases

Posted: Wed 03 Jun 2015 1:41 pm
by water01
I noticed my MX moon phase is different to a Cumulus 1 moon phase i.e. http://www.dmjsystems.co.uk/weather/index.php says Full Moon and http://www.combwichweather.info/ says Waning Gibbous.
On reading the FAQ it says "Moon phases are wrong - should be fixed in 3024". So I am running 3025, is it still wrong or is Cumulus 1 wrong?

Re: Moon Phases

Posted: Wed 03 Jun 2015 4:09 pm
by steve
It's only 24 hours since Full Moon and it's currently at about 99%, so presumably the MX code will start saying 'Waning Gibbous' shortly (in the next few hours). The code is all completely different and the boundaries between each phase are done in a different way.

Re: Moon Phases

Posted: Wed 03 Jun 2015 5:01 pm
by water01
OK thanks Steve.

Re: Moon Phases

Posted: Fri 11 Sep 2015 8:51 pm
by ronwright418
My moon graphic in MX b3030 is 180 degrees out of phase. The text says waning crescent, but the graphic is an almost full moon. Everything in the almanac agrees with v1.94 # 1092 except the graphic. The time is also correct. Looking through the volumes of queries on moon phase I didn't see anything relating to this. Did I miss something? What do I need to do to change this?
Thanks -- Ron

Re: Moon Phases

Posted: Fri 11 Sep 2015 10:22 pm
by water01
Cumulus MX provides the words of the phase of the moon, but it does not provide the graphic unlike Cumulus 1 (I assume you mean the one on your front page).

I wrote a PHP program that provides the correct image to the front page using the title provided in the webtag.

Re: Moon Phases

Posted: Sat 12 Sep 2015 2:01 pm
by ronwright418
Hi David,
That looks good on your page. Better than the Cumulus 1 graphic. Is that php script available for others to use?
Ron

Re: Moon Phases

Posted: Sat 12 Sep 2015 6:07 pm
by water01
I will package it up and post it here if that is OK. Should be ready tomorrow latest.

Re: Moon Phases

Posted: Sat 12 Sep 2015 7:09 pm
by ronwright418
That will be great. I think there would be many others that would like to use it.
Thanks,
Ron

Re: Moon Phases

Posted: Sat 12 Sep 2015 7:25 pm
by willyweather
Oh yes, I can confirm that statement !
I'm waiting for the possibility of showing such a Moonphase picture for half a year :-)

Would be great!

Regards, Wilfried

Re: Moon Phases

Posted: Mon 14 Sep 2015 5:11 pm
by water01
OK I have now packaged it for both HTML and PHP users, although my instructions assume your are using Steve's standard indexT.htm file as your index.htm. I am assuming that anyone who uses PHP should be able to modify their code in line with the instructions, but if not let me know.

The zip file contains a Word doc with full instructions on how to install. Any problems let me know.

This is where the latest version will be kept.

Re: Moon Phases

Posted: Mon 14 Sep 2015 6:40 pm
by ronwright418
Thanks David, Looks like two others even downloaded before me. I'm sure it will help them as well. I'll get it installed as soon as possible and let you know, but I'll bet there won't be any problems.
Ron

Re: Moon Phases

Posted: Wed 16 Sep 2015 10:38 am
by laulau
Hi David,

It's only working for english language (string.ini) because in my case i have :
$moonphase = "premier croissant"; // current phase of the moon
:oops: :?:

Re: Moon Phases

Posted: Wed 16 Sep 2015 11:59 am
by water01
Very true, but then I am English :D :D . If you send me the 8 French phases that Cumulus MX sends you I would be happy to modify my code to cater for that.

Re: Moon Phases

Posted: Wed 16 Sep 2015 12:40 pm
by laulau
Hi David,

Why not choose the image with <#MoonPercent> or <#MoonAge> to avoid language issue ?

There was a discussion here https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13983 about the relationship between moonphase and % illumination.

Re: Moon Phases

Posted: Wed 16 Sep 2015 1:13 pm
by nitrx
Can't you change the name of the images to the text ?