PDA

View Full Version : Moon coordinates question


Andru10
Aug25-09, 05:46 AM
Hello, I am new to this forum and this is my first thread! :)

I would like to know how I can compute the Cartestian Coordinates (x,y,z) of the Moon, with the Earth at the origin during the eclipse of August 11 1999 at the time of the greatest eclipse point (http://en.wikipedia.org/wiki/Solar_eclipse_of_August_11,_1999). I'm trying to create a program that can predict Solar eclipses.
I have chosen the (x,y) plane to be the ecliptic plane (Earth-Sun plane), so the z coordinate of the Moon would have to be almost 0. I say almost 0 because, when I say coordinates, I'm referring to the coordinates of the center of the Moon ... and the center of the Moon, the center of the Earth and the center of the Sun weren't colinear during that eclipse (honestly I doubt there was an eclipse in which they were perfectly colinear). My program only works with points, not whole objects (not yet at least).

Thank you!

mgb_phys
Aug25-09, 09:36 AM
http://img.amazon.ca/images/I/51ESGVZBMPL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU15_.jpghttp://img.amazon.ca/images/I/512G4AET7YL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU15_.jpg

You might find them in your library - there are a few other books on astronomy coordinates but these are probably the easiest.

ps. you almost certainly don't want to work in XYZ but in earth centred ra-dec

Ich
Aug25-09, 10:24 AM
Use the horizons (http://ssd.jpl.nasa.gov/horizons.cgi#top)web interface. That's as accurate as it can get, and you can choose cartesian coordinates also.

tony873004
Aug25-09, 12:25 PM
I find it easier to use Horizons email interface rather than the web interface, as you can create a template and use it over again with modifications. For example, sending the following email to horizons@ssd.jpl.nasa.gov, and putting the word job in the subject line gives you your desired data.

!$$SOF
EMAIL_ADDR=''
START_TIME = '1999-Aug-11 11:03:00'
STOP_TIME = '1999-Aug-11 11:03:01'
TABLE_TYPE = 'Vector'
REF_PLANE = 'Ecliptic'
CENTER = '@399'
COMMAND='301'
!$$EOF


Horizons immediately mails you back an email that contains the following data. The numbers I boldfaced are your x,y,z positions, and x,y,z velocities.

$$SOE
2451401.960416667 = A.D. 1999-Aug-11 11:03:00.0000 (CT)
-2.787121218555445E+05 2.483354892822721E+05 3.199372342106552E+03
-7.316006084987076E-01 -7.570767396262709E-01 9.717839080361770E-02
1.245231885498317E+00 3.733111277335151E+05 4.341645356342641E-02
$$EOE

Andru10
Aug25-09, 01:47 PM
Thank you all very much! This has been extremely helpful! :)