After a couple weeks of work, I have completed an implementation of "Lunar Tables and Programs" published in 1991 by Michelle Chapront-Touzé and Jean
Chapront of France. I then took the position of the moon relative to the center of the earth (calculated using their method from the tables) and went
further with it by converting into topocentric coordinates for a given location and also included functions to compensate for atmospheric refraction,
calculate the phase angle and calculate the orientation relative to the local horizon. The output is all numerical as opposed to the visual output of
programs like Stellarium, and unlike stellarium you can see the formulas all right there in front of you.
You can get the spreadsheet here:
edit on 15-2-2013 by ngchunter because: (no reason given)
15-2-2013 by ngchunter because: (no reason given)