Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

Moon Image ??

Discussion and questions about Cumulus weather station software version 1. This section and its subforums are the main place to get help with Cumulus. Anything which is not specific to the type of weather station goes in here; for anything specific to a type of weather station, please use the appropriate subforum. Use the 'website development' section for any questions relating to creating or running a web site for Cumulus data. Discussion of the stations themselves in these sections is fine.
User avatar
Paul-G0HWC
Posts: 56
Joined: Thu 26 Apr 2012 6:36 am
Weather Station: Davis Vantage Vue
Operating System: Win 7
Location: Clacton on Sea, Essex
Contact:

Moon Image ??

Post by Paul-G0HWC » Mon 04 Jun 2012 6:36 pm

Hi all,

Can anyone tell me where Cumulus gets its moon images from ?
I am trying to add my own set. When I put my moon image into
the images folder it gets changed back.

Paul
Image

Weather: http://www.g0hwc.com/weather
Ham Radio: http://www.g0hwc.com
TruckCam: http://www.truckcam.tv Live video and tracking from my truck

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

Re: Moon Image ??

Post by steve » Mon 04 Jun 2012 6:46 pm

It's a 'grab' of the image on the Cumulus main screen, and it gets re-created every web update. So if you want to use your own images, you'll have to use a different file name.
Steve

User avatar
Paul-G0HWC
Posts: 56
Joined: Thu 26 Apr 2012 6:36 am
Weather Station: Davis Vantage Vue
Operating System: Win 7
Location: Clacton on Sea, Essex
Contact:

Re: Moon Image ??

Post by Paul-G0HWC » Mon 04 Jun 2012 7:16 pm

Many thanks for the quick reply Steve.
one last question:
is the moon.bmp masked to show phase or is it a range of images ?

Paul
Image

Weather: http://www.g0hwc.com/weather
Ham Radio: http://www.g0hwc.com
TruckCam: http://www.truckcam.tv Live video and tracking from my truck

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

Re: Moon Image ??

Post by steve » Mon 04 Jun 2012 7:24 pm

Paul-G0HWC wrote:is the moon.bmp masked to show phase or is it a range of images ?
It's one image, masked.
Steve

User avatar
GraemeT
Posts: 308
Joined: Wed 21 Oct 2009 11:19 am
Weather Station: La Crosse WS-2355 & WS-2306
Operating System: Windoze 7
Location: Bayswater, Australia
Contact:

Re: Moon Image ??

Post by GraemeT » Tue 05 Jun 2012 4:13 am

Hi Paul,
Most of the information you need should be here: http://weather.gktnet.com/public/weathe ... Phases.zip
There is a text file included with php, html, and javascript code examples.
Cheers,
Graeme.

Image

User avatar
Mapantz
Posts: 527
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Moon Image ??

Post by Mapantz » Wed 06 Jun 2012 12:35 pm

GraemeT wrote:Hi Paul,
Most of the information you need should be here: http://weather.gktnet.com/public/weathe ... Phases.zip
There is a text file included with php, html, and javascript code examples.
Link and your site are down buddy. :(


Edit: Seems to be ok now. Thanks for the link.
Image
Image

User avatar
Paul-G0HWC
Posts: 56
Joined: Thu 26 Apr 2012 6:36 am
Weather Station: Davis Vantage Vue
Operating System: Win 7
Location: Clacton on Sea, Essex
Contact:

Re: Moon Image ??

Post by Paul-G0HWC » Thu 07 Jun 2012 3:44 pm

Many thanks for the info GraemeT,

I now have the new images fully working on my pages :-)

Paul
Image

Weather: http://www.g0hwc.com/weather
Ham Radio: http://www.g0hwc.com
TruckCam: http://www.truckcam.tv Live video and tracking from my truck

User avatar
Mapantz
Posts: 527
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Moon Image ??

Post by Mapantz » Mon 11 Jun 2012 1:15 pm

I've had this on my site for a few days now, but i've noticed a problem. It was on waning gibbous for a few days, then it went to last quarter last night, and in less than 12 hours it's on waning crescent. But it's only just gone to 49% lit but it looks like it's only a day away from a new moon. It seems to change too quickly. :(
Image
Image

RayProudfoot
Posts: 2632
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Moon Image ??

Post by RayProudfoot » Mon 11 Jun 2012 1:35 pm

I'm having the same issue. Acccording to this website last quarter is 10:42 today so I would expect to see that phase and not a waning crescent.

New Moon is not until 15:03 on 19 June so I would expect to see a waning crescent sometime between 14-16 June.
Cheers,
Ray, Cheshire.

Image

User avatar
GraemeT
Posts: 308
Joined: Wed 21 Oct 2009 11:19 am
Weather Station: La Crosse WS-2355 & WS-2306
Operating System: Windoze 7
Location: Bayswater, Australia
Contact:

Re: Moon Image ??

Post by GraemeT » Mon 11 Jun 2012 1:48 pm

Hi Ray and Mapantz,
I'm no astronomer, so I can only go by the information I'm presented with and according to Cumulus' data, we're in day 22 with 49% of the moon still visible, which is a waning crescent.
In any case, waning crescent is within that last quarter....
Cheers,
Graeme.

Image

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

Re: Moon Image ??

Post by steve » Mon 11 Jun 2012 2:09 pm

'Last Quarter' is a very short phase. 'Waning Crescent' is 1 to 49% visible. Currrently, just under 49% is visible, hence 'Waning Crescent'.

http://en.wikipedia.org/wiki/Lunar_phase
Steve

RayProudfoot
Posts: 2632
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Moon Image ??

Post by RayProudfoot » Mon 11 Jun 2012 2:48 pm

Graeme / Steve,

I used to study astronomy many years ago but I think this is more of an arithmetical problem that astronomical.

Can we really describe a moon lit to 49% of its surface as waning / waxing crescent? I would argue it's currently closer to first / last quarter than waning. I suggest it's only a crescent when less than 37% of its visible surface is lit. 37% being half-way between 50% and 25%.

Another way of looking at this is to break the moon's 8 phases into New - Waxing Cres - First Qtr - Waxing Gib - Full - Waning Gib - Last Qtr and Waning Cres and to give each phase equal treatment. That way you'll see each phase for the same length of time which seems logical.

If you visit the British Astronomical Association's website they are currently describing the moon's phase as Last Quarter. Perhaps a more authoratative source than Wikipedia? ;)

That site also has code you can paste onto your website which will show the current phase. Registration is free. http://www.calculatorcat.com/moon_phase ... ases.phtml
Cheers,
Ray, Cheshire.

Image

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

Re: Moon Image ??

Post by steve » Mon 11 Jun 2012 3:17 pm

RayProudfoot wrote:If you visit the British Astronomical Association's website they are currently describing the moon's phase as Last Quarter. Perhaps a more authoratative source than Wikipedia? ;)
Here's another link, one you might consider "more authoritative". According to the web site of the US Naval Observatory (my emphasis): "The percent of the Moon's surface illuminated is a more refined, quantitative description of the Moon's appearance than is the phase. Considering the Moon as a circular disk, the ratio of the area illuminated by direct sunlight to its total area is the fraction of the Moon's surface illuminated; multiplied by 100, it is the percent illuminated. At New Moon the percent illuminated is 0; at First and Last Quarters it is 50%; and at Full Moon it is 100%. During the crescent phases the percent illuminated is between 0 and 50% and during gibbous phases it is between 50% and 100%."

http://www.usno.navy.mil/USNO/astronomi ... rcent-moon

If you'd like to give me a definitive reference for the mapping of percentage visibility to lunar phase, I can consider changing Cumulus at some point.
Steve

User avatar
Mapantz
Posts: 527
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Moon Image ??

Post by Mapantz » Mon 11 Jun 2012 3:26 pm

Obviously, there's only 8 images for the moon phase, but it shows twice as much darkness than what the front of cumulus is showing.
It's not a major concern, i just wondered if anything can be done to improve GraemeT's icons?

Here's a snapshot of the moon showing on cumulus;

http://i46.tinypic.com/avhsia.png

And here's my site;

http://www.wareham-weather.co.uk/

Regards.
Image
Image

User avatar
mcrossley
Posts: 5234
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Moon Image ??

Post by mcrossley » Mon 11 Jun 2012 3:36 pm

As some mentioned above, isn't this just an arithmetic problem?

The phases, full, quarter etc are strictly 'instants' in time, that are gone the next instant. However as humans we like to 'see' the Moon presented on the web page as 'first quarter' etc for a period of time around that instant. Generally in my software try and present the 'instantaneous phases' for the whole day on which they occur, then revert to the waxing/waning xxxxx description for the rest of the time.
Last edited by mcrossley on Mon 11 Jun 2012 3:38 pm, edited 1 time in total.

Post Reply