Page 1 of 1

Moon rise and set in WDL

Posted: Wed Aug 06, 2008 10:33 am
by G3ZSS
In my WDL page I use the Sun/Moon instrument. However looking at the Parser tool I see that Meteohub is not passing the Moonrise (558), Moonset (559) and Moon Age (561) information. However the Sun rise and set info, as well as Moon phase is being sent. Can I request that Moon rise, set and age are included in a future release.
Thanks Peter

Re:Moon rise and set in WDL

Posted: Mon Aug 11, 2008 12:59 am
by AAMFlyer
G3ZSS wrote: Can I request that Moon rise, set and age are included in a future release.
Thanks Peter
I second that request!!!! ;)

Re:Moon rise and set in WDL

Posted: Sat Aug 30, 2008 12:28 pm
by admin
I checked out some algorithms. Unfortunately, nothing which I can directly use.

Please have some patience on this.

Re:Moon rise and set in WDL

Posted: Sat Dec 27, 2008 10:41 pm
by jhodgesatmb
I was wondering why it wasn't working. Patience is the easy part. If Boris has looked into it and has responded then it is at least on his mind and that is always good.

Re:Moon rise and set in WDL

Posted: Fri Feb 20, 2009 2:15 pm
by argonaut71
Do you have some kind of estimate then this might be implemented?

Cheers,
Mikko

Re:Moon rise and set in WDL

Posted: Thu May 28, 2009 8:03 am
by argonaut71
You probably have already found this page, but just in case if this would help to implement mentioned feature. :)

Moonrise and set

Re:Moon rise and set in WDL

Posted: Thu Sep 03, 2009 10:12 am
by G3ZSS
Any progress towards implementing this request?

Re:Moon rise and set in WDL

Posted: Thu Sep 03, 2009 4:03 pm
by wfpost
How to compute planetary positions

Tutorial on computing planetary

Computing rise/set
4. Computing the Moon's rise/set times.
This is really done the same way as the Sun's rise/set times, the only difference being that you should compute the RA and Decl for the Moon and not for the Sun. However, the Moon moves quickly and its rise/set times may change one or even two hours from one day to the next. If you don't iterate the Moon's rise/set times, you may get results which are in error by up to an hour, or more.

Another thing to consider: the Sun is always in the south near 12:00 local time, but the Moon may be in the south at any time of the day (or night). This means you must pay more attention that you're really iterating towards the rise or set time you want, and not some rise/set time one day earlier, or later.

Since the Moon rises and sets on the average 50 minutes later each day, there usually will be one day each month when the Moon never rises, and another day when it never sets. You must have this in mind when iterating your rise/set times, otherwise your program may easily get caught into an infinite loop when it tries to force e.g. a rise time between 00:00 and 24:00 local time on a day when the Moon never rises.

At high latitudes the Moon occasionally rises, or sets, twice on a single calendar day. This may happen above the "lunar arctic circle", which moves between 61.5 and 71.9 deg latitude during the 18-year period of the motion of the lunar nodes. You may want to pay attention to this.

Yes, computing the Moon's rise/set times is unfortunately messy, much due to its quick orbital motion around the Earth.
Maths in Java:
http://lexikon.astronomie.info/java/sunmoon/

Javascript source code:
http://lexikon.astronomie.info/java/sun ... nmoon.html

Re:Moon rise and set in WDL

Posted: Fri Sep 04, 2009 6:22 pm
by netsigi
I am also interested in using WDL's Moon display. My Station (IROX) does display the phases. But obviously this is not interfaced to meteohub....