Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Moon Phases

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Moon Phases

Postby water01 » Wed Jun 03, 2015 1:41 pm

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?

User avatar
steve
Cumulus Author
Posts: 26250
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Moon Phases

Postby steve » Wed Jun 03, 2015 4:09 pm

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.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Moon Phases

Postby water01 » Wed Jun 03, 2015 5:01 pm

OK thanks Steve.

ronwright418
Posts: 68
Joined: Thu Sep 06, 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Postby ronwright418 » Fri Sep 11, 2015 8:51 pm

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
Ron Wright (ronwright418)
Image

water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Moon Phases

Postby water01 » Fri Sep 11, 2015 10:22 pm

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.

ronwright418
Posts: 68
Joined: Thu Sep 06, 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Postby ronwright418 » Sat Sep 12, 2015 2:01 pm

Hi David,
That looks good on your page. Better than the Cumulus 1 graphic. Is that php script available for others to use?
Ron
Ron Wright (ronwright418)
Image

water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Moon Phases

Postby water01 » Sat Sep 12, 2015 6:07 pm

I will package it up and post it here if that is OK. Should be ready tomorrow latest.

ronwright418
Posts: 68
Joined: Thu Sep 06, 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Postby ronwright418 » Sat Sep 12, 2015 7:09 pm

That will be great. I think there would be many others that would like to use it.
Thanks,
Ron
Ron Wright (ronwright418)
Image

willyweather
Posts: 63
Joined: Tue May 15, 2012 8:50 pm
Weather Station: WH 1080
Operating System: Windows 8.1 and Raspbian
Location: Assling

Re: Moon Phases

Postby willyweather » Sat Sep 12, 2015 7:25 pm

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

water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Moon Phases

Postby water01 » Mon Sep 14, 2015 5:11 pm

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.
You do not have the required permissions to view the files attached to this post.
Last edited by water01 on Sat Dec 12, 2015 12:08 pm, edited 5 times in total.

ronwright418
Posts: 68
Joined: Thu Sep 06, 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Moon Phases

Postby ronwright418 » Mon Sep 14, 2015 6:40 pm

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
Ron Wright (ronwright418)
Image

User avatar
laulau
Posts: 525
Joined: Tue Oct 13, 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Moon Phases

Postby laulau » Wed Sep 16, 2015 10:38 am

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: :?:
Laurent

Image

water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Moon Phases

Postby water01 » Wed Sep 16, 2015 11:59 am

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.

User avatar
laulau
Posts: 525
Joined: Tue Oct 13, 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Moon Phases

Postby laulau » Wed Sep 16, 2015 12:40 pm

Hi David,

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

There was a discussion here http://sandaysoft.com/forum/viewtopic.php?f=27&t=13983 about the relationship between moonphase and % illumination.
Laurent

Image

User avatar
nitrx
Posts: 1300
Joined: Sun Dec 13, 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Moon Phases

Postby nitrx » Wed Sep 16, 2015 1:13 pm

Can't you change the name of the images to the text ?


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 4 guests