giann
asked on
moon-rise calculation
I have written a calendar programm in VB4.
Now I want to add the moonrise and moonset function for any date.
To do this for a certain date, one must know basically 3 figures:
Latitude, longitude and the Time zone of the place.
All theese are of course easily known.
Now, does anyone know the algorithms or the way to computate the moonrise/set times?
(Or at least the Right Ascension and Declination of the moon?)
Now I want to add the moonrise and moonset function for any date.
To do this for a certain date, one must know basically 3 figures:
Latitude, longitude and the Time zone of the place.
All theese are of course easily known.
Now, does anyone know the algorithms or the way to computate the moonrise/set times?
(Or at least the Right Ascension and Declination of the moon?)
all these programs are in basic, i hope it is not that much difficulty to convert them to VB
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
1. Moonup.bas is in Basic. I have already tryied to convert it without success.
2.In http://aa.usno.navy.mil/data/docs/RS_OneDay.html there is not the computation algorithm.
2.In http://aa.usno.navy.mil/data/docs/RS_OneDay.html there is not the computation algorithm.
This link seems to have the formulas you need:
http://hotel04.ausys.se/pausch/comp/riset.html#4
It is not code, just formulas.
http://hotel04.ausys.se/pausch/comp/riset.html#4
It is not code, just formulas.
ASKER
Answer to Otana:
I have already look in http://hotel04.ausys.se/pausch/comp/riset.html#4
No success!
Thanks.
I have already look in http://hotel04.ausys.se/pausch/comp/riset.html#4
No success!
Thanks.
ASKER
As appari wrote above, in the site:
http://www.skypub.com/resources/software/basic/basic.html#list
exists the file that interests me - MOONUP.BAS - but it is in Basic. Can somebody please convert it to VB4 code?
http://www.skypub.com/resources/software/basic/basic.html#list
exists the file that interests me - MOONUP.BAS - but it is in Basic. Can somebody please convert it to VB4 code?
:ping:
for your purpose see moonup.bas
http://www.skypub.com/resources/software/basic/basic.html#list
hope this helps you.