palAoppa

Precompute apparent to observed place parameters

Description:

Precompute apparent to observed place parameters required by palAopqk and palOapqk.

Invocation

void palAoppa ( double date, double dut, double elongm, double phim, double hm, double xp, double yp, double tdk, double pmb, double rh, double wl, double tlr, double aoprms[14] );

Arguments

date = double (Given)
UTC date/time (modified Julian Date, JD-2400000.5)
dut = double (Given)
delta UT: UT1-UTC (UTC seconds)
elongm = double (Given)
mean longitude of the observer (radians, east +ve)
phim = double (Given)
mean geodetic latitude of the observer (radians)
hm = double (Given)
observer s height above sea level (metres)
xp = double (Given)
polar motion x-coordinate (radians)
yp = double (Given)
polar motion y-coordinate (radians)
tdk = double (Given)
local ambient temperature (K; std=273.15)
pmb = double (Given)
local atmospheric pressure (mb; std=1013.25)
rh = double (Given)
local relative humidity (in the range 0.0-1.0)
wl = double (Given)
effective wavelength (micron, e.g. 0.55)
tlr = double (Given)
tropospheric lapse rate (K/metre, e.g. 0.0065)
aoprms = double [14] (Returned)
Star-independent apparent-to-observed parameters

(0) geodetic latitude (radians) (1,2) sine and cosine of geodetic latitude (3) magnitude of diurnal aberration vector (4) height (hm) (5) ambient temperature (tdk) (6) pressure (pmb) (7) relative humidity (rh) (8) wavelength (wl) (9) lapse rate (tlr) (10,11) refraction constants A and B (radians) (12) longitude + eqn of equinoxes + sidereal DUT (radians) (13) local apparent sidereal time (radians)

Notes:

HM -29.3TSLlog(P/1013.25).

where TSL is the approximate sea-level air temperature in K (see Astrophysical Quantities, C.W.Allen, 3rd edition, section 52). Similarly, if the pressure P is not known, it can be estimated from the height of the observing station, HM, as follows:

P 1013.25exp(-HM/(29.3TSL)).

Note, however, that the refraction is nearly proportional to the pressure and that an accurate P value is important for precise work.