Commit Graph

4 Commits

Author SHA1 Message Date
Don Cross
a652da7b9e Rough version of Moon's rotation axis in C.
I used Cassini's Laws to derive an approximate solution
to the Moon's rotation axis. The error is on the order of
5 arcminutes. I still need to correct for physical libration.

I also need to find test data for the Moon's prime meridian
so that I can implement the spin angle calculation.
(I could use test data for all the planets' spins, for that matter.)
2021-12-05 13:22:00 -05:00
Don Cross
f4297b78ae Added NASA moon libration data for 2022.
Moon libration data from NASA is now available for the
2022 calendar year. I added it to the existing libration
unit tests.
2021-12-03 16:31:21 -05:00
Don Cross
405a89fdf3 C Libration functions appear to be working.
Based on PJ Naughter's formulas at:
http://www.naughter.com/aa.html
2021-11-02 21:28:18 -04:00
Don Cross
d4890dba59 C LibrationTest: starting to implement unit test.
I don't have a libration function working yet, but this
is the beginning of the unit test for it. It just parses
an input file created by NASA.
2021-10-06 17:18:57 -04:00