Moon rise and set in WDL

Discussion, issues, recommendations around Meteohub's dashboard and WD Live integration

Moderator: Mattk

Post Reply
G3ZSS
Junior Boarder
Junior Boarder
Posts: 30
Joined: Thu Jul 03, 2008 9:16 pm
Contact:

Moon rise and set in WDL

Post 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
AAMFlyer
Gold Boarder
Gold Boarder
Posts: 213
Joined: Mon Aug 11, 2008 12:55 am
Location: Arvada, CO

Re:Moon rise and set in WDL

Post 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!!!! ;)
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Moon rise and set in WDL

Post by admin »

I checked out some algorithms. Unfortunately, nothing which I can directly use.

Please have some patience on this.
jhodgesatmb
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Sun Nov 02, 2008 11:05 pm

Re:Moon rise and set in WDL

Post 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.
argonaut71
Junior Boarder
Junior Boarder
Posts: 24
Joined: Fri Sep 26, 2008 12:37 pm

Re:Moon rise and set in WDL

Post by argonaut71 »

Do you have some kind of estimate then this might be implemented?

Cheers,
Mikko
argonaut71
Junior Boarder
Junior Boarder
Posts: 24
Joined: Fri Sep 26, 2008 12:37 pm

Re:Moon rise and set in WDL

Post by argonaut71 »

You probably have already found this page, but just in case if this would help to implement mentioned feature. :)

Moonrise and set
G3ZSS
Junior Boarder
Junior Boarder
Posts: 30
Joined: Thu Jul 03, 2008 9:16 pm
Contact:

Re:Moon rise and set in WDL

Post by G3ZSS »

Any progress towards implementing this request?
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re:Moon rise and set in WDL

Post 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
netsigi
Senior Boarder
Senior Boarder
Posts: 74
Joined: Wed Aug 05, 2009 7:27 pm

Re:Moon rise and set in WDL

Post 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....
Post Reply