Simple example to compute the topocentric alt/az position of the moon. Note the reduction algorithm used is not rigorous, it ignores several factors which will result in (relativley) significant errors compared to other results.

The below table compares the example astrolib output to results obtained from JPL Horizons. Alt/Az positions for the planets are accurate to within a few .001ths of a degree. Lunar positions show considerable errors at about 1000 years in the future.Otherwise, lunar position errors are on the order of a few hundredths of a degree.


This example requires vsop87a_full.js and astrolib.js.

UNDER DEVELOPMENT. Not all columns are done, RA/Dec and Alt/Az columns should be accurate