3
$\begingroup$

There are a number of answers on here that skirt the topic, but no concrete answers.

I currently have an implementation based on "Astronomical Algorithms by Jean Meeus" for stars, moon, and sun written ~2007. The stellar positioning is not accurate enough for my upcoming application so I switched that over to the SOFA library (very easy and straight-forward). Just take catalog data drop it into a magic function and BOOM you have RA and Dec.

I am currently attempting to replace the rest of the Meeus algorithms with the SOFA library and am finding my knowledge lacking and the size of the SOFA library overwhelming.

From what I have found, the epv00 heliocentric coords can be reversed somehow to get geocentric coords of the Sun. How would that be done and is that GCRS? Which I can then use for the standard GCRS->observed chain from the cookbook? If that is not GCRS, can I make it GCRS? Should I?

$\endgroup$
1

1 Answer 1

1
$\begingroup$

Here's my attempt at using SOFA to perform planetary reduction: https://github.com/gmiller123456/sofa_examples/blob/master/reductiontest2.c

It performs annual aberration correction, but that's the most accurate step it stops at. It does not perform diurnal aberration, polar motion, etc. It gets to the sub arc second accuracy.

From what I understand, SOFA was designed more for stars and objects outside the solar system, so there aren't any routines for easy computation of planet positions. Also "Astronomical Algorithms" is a descent place to start with computational astronomy, but not good as your only source. Meeus does not really try to explain what the equations in his book are doing, it makes a good cookbook, but it can be really hard to take something from the book and apply it to something else without some other source. A good reference is "The Explanatory Supplement to the Astronomical Almanac", but can be quite terse for non-astronomers, and a bit pricey. And, unfortunately I haven't really seen an intermediate book, but there are cheaper sources. A good place to start is an old used copy of the "Astronomical Almanac", it will still have a lot of explanations, examples, and algorithms for positional astronomy.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .