Position of the Sun and Moon in ECEF coordinates

Click For Summary
SUMMARY

The discussion focuses on obtaining the position of the Sun and Moon in Earth-Centered, Earth-Fixed (ECEF) coordinates. The JPL Horizons website is identified as a resource for solar system body coordinates, although it does not directly provide ECEF data. For a dynamic and accurate system, users need to utilize an ephemeris model from JPL, an Earth rotation model from SOFA, and a time model based on JPL's Teph. A converter for transforming latitude, longitude, and altitude to ECEF coordinates is also mentioned.

PREREQUISITES
  • Understanding of ECEF (Earth-Centered, Earth-Fixed) coordinates
  • Familiarity with ephemeris models, specifically the Development Ephemeris from JPL
  • Knowledge of Earth rotation models, particularly from SOFA
  • Basic grasp of time models, including JPL's Teph and its relation to Terrestrial Time (TT)
NEXT STEPS
  • Research how to implement the Development Ephemeris from JPL for celestial calculations
  • Explore the SOFA Earth rotation model for accurate transformations
  • Learn about JPL's Teph time model and its applications in astrophysics
  • Investigate the online converter for transforming latitude, longitude, and altitude to ECEF coordinates
USEFUL FOR

Engineering students, astrophysics enthusiasts, software developers working on astronomical applications, and anyone interested in celestial coordinate transformations.

Trolll
Messages
5
Reaction score
0
Hi!
I was just wondering if anyone knows where I can find a software/algorithm that can give me the postion of the sun and the moon in ECEF coordinates?

If not, do you have any clues to how I might start building one? I am an engeneering student, so I don't have a lot of knowlegde about astrophysics, but I am very willing to learn!
Thank you for your time!
 
Astronomy news on Phys.org
The JPL Horizons website will give coordinates for any solar system body in a variety of different coordinates systems. One of them is Cartesian coordinates centered on any point you choose, which I think is the same as ECEF.
 
phyzguy said:
The JPL Horizons website will give coordinates for any solar system body in a variety of different coordinates systems. One of them is Cartesian coordinates centered on any point you choose, which I think is the same as ECEF.
ECEF means "Earth Centered, Earth Fixed". Horizons does not provide that system. It does provide the ability to represent data in a frame based on a point on the surface of the Earth, so that's close (the coordinates of a point on the surface of the Earth in ECEF is nearly constant, and the variations are very small).

This may or may not work, depending on the OP's needs. To the OP: How many data points are needed, does the system need to be dynamic, to what accuracy do you want the data?

If you need a dynamic system with high accuracy you have a lot of work cut out for you. You'll need
  • An ephemeris model such as the Development Ephemeris from JPL. This comprises software and data. You can download both from the Horizons site. The software provided isn't very good (typical academic quality software written in an ancient version of Fortran) but you can rewrite it.
  • An Earth rotation model, which you can get from SOFA (and this is of good quality).
  • A model of time. The JPL ephemeris uses JPL's Teph, which is a MIT/JPL relativistic time scale. To within a couple of milliseconds, Teph is Terrestrial Time (TT), which in turn is a fixed offset from International Atomic Time (TAI). The SOFA model needs time in TT, UT1, and GMST. There are shortcuts if you don't mind loss of precision.
The ephemeris model will let you calculate the position of the Sun, Earth, and Moon in ITRF coordinates. Ignoring relativistic effects, this is the information you need to calculate the Earth Centered Inertial coordinates (ICRF axes, which are about the same as J2000) of the Sun and Moon. The Earth rotation model gives the transform from ECI to ECEF.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K