The geometry for the calculations of positions and distances to the requested planet is shown in Figure
.
The topocentric vector of a planet,
, or the geocentric vector of the planet,
, are calculated with reference to the geocentric vector of the Sun,
, the heliocentric vector of the planet,
, and the geocentric vector of the observer,
. Also used by the current version of FLUXES are the geocentric vector to the Moon,
, the vector from the Sun to the Earth-Moon barycentre,
, and the knowledge that the geocentric vector of the Earth-Moon barycentre is given by (
).
When the directions of these vectors are as shown in Figure
, the geocentric position and velocity vector of the planet is given by
where the geocentric vector of the Sun,
, may be given as
Similarly, the topocentric position and velocity vector of the planet is given by

All these vector quantities must be precessed to the appropriate date. The prime symbol (
) will be used in the following equations to indicate precessed positions.
Once the necessary vector is known, the actual distance is calculated as the square root of the summed square of each component, e.g.
and hence the light travel time to the planet is given by
where
is in the appropriate units. The position vector of the planet as viewed from the Earth should then be corrected for planetary aberration, e.g.
where
is the (uncorrected) velocity vector component in the
direction. The corrected position vector
or
can then be converted into standard R.A. and Dec coordinates, and the airmass can be calculated from the topocentric coordinates.
FLUXES JCMT Position and Flux Density Calibration