WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: capeweather on October 23, 2007, 06:13:41 PM

Title: Moon Phase Script
Post by: capeweather on October 23, 2007, 06:13:41 PM
Anybody have an idea where we could find a moon phase script that displays the monthly lunar activity like from the website below. I think this would be a great addition for any weather website. I've looked around and couldn't find anything.

http://stardate.org/nightsky/moon/ (http://stardate.org/nightsky/moon/)
Title: Re: Moon Phase Script
Post by: SLOweather on October 23, 2007, 06:22:50 PM
Shouldn't be too hard to make PHP do that.
Title: Re: Moon Phase Script
Post by: Anole on October 23, 2007, 06:52:44 PM
Shouldn't be too hard to make PHP do that.

Last time I said that I ended up creating the weather graphic script. That's your cue ;-)
Title: Re: Moon Phase Script
Post by: Anole on October 23, 2007, 07:05:19 PM
Found this:

http://www.weberdev.com/get_example-3490.html

but I haven't looked at it yet.
Title: Re: Moon Phase Script
Post by: SLOweather on October 23, 2007, 08:16:49 PM
In looking at the source of the Stardate.org page, it was made by something called Googol Moon Phase Calendar. However, googol.com has gone away (redirected to biggestnumber.com), and I haven't yet been able to find another reference for it.
Title: Re: Moon Phase Script
Post by: capeweather on October 23, 2007, 11:43:35 PM
Thanks for looking guys. Hopefully something pops up out there. I've always been interested in finding out the moon phases a month in advance to plan fishing trips and found that to be the perfect solution. The difference between a half moon and a new or full can make or break the trip. If it were available I could almost bet that would be a huge hit.
Title: Re: Moon Phase Script
Post by: saratogaWX on October 24, 2007, 01:39:35 AM
Chris,
For $20, you can get Lunar Phase Lite (http://lunarphaselite.nightskyobserver.com/) software (WinDo$e) which produces the lunar calendar you've seen (and a bunch of other Lunar goodies).

I've got a couple of PHP class files I've been mulling over, but neither one is as accurate as the Naval Observatory for phase times.

Best regards,
Ken