palRefro

Atmospheric refraction for radio and optical/IR wavelengths

Description:

Calculates the atmospheric refraction for radio and optical/IR wavelengths.

Invocation

void palRefro( double zobs, double hm, double tdk, double pmb, double rh, double wl, double phi, double tlr, double eps, double ref ) {

Arguments

zobs = double (Given)
Observed zenith distance of the source (radian)
hm = double (Given)
Height of the observer above sea level (metre)
tdk = double (Given)
Ambient temperature at the observer (K)
pmb = double (Given)
Pressure at the observer (millibar)
rh = double (Given)
Relative humidity at the observer (range 0-1)
wl = double (Given)
Effective wavelength of the source (micrometre)
phi = double (Given)
Latitude of the observer (radian, astronomical)
tlr = double (Given)
Temperature lapse rate in the troposphere (K/metre)
eps = double (Given)
Precision required to terminate iteration (radian)
ref = double (Returned)
Refraction: in vacuao ZD minus observed ZD (radian)

Notes:

. The angle arguments have been changed to radians.

. Any value of ZOBS is allowed (see note 6, below).

. Other argument values have been limited to safe values.

. Murray s values for the gas constants have been used (Vectorial Astrometry, Adam Hilger, 1983).

. The numerical integration phase has been rearranged for extra clarity.

. A better model for Ps(T) has been adopted (taken from Gill, Atmosphere-Ocean Dynamics, Academic Press, 1982).

. More accurate expressions for Pwo have been adopted (again from Gill 1982).

. The formula for the water vapour pressure, given the saturation pressure and the relative humidity, is from Crane (1976), expression 2.5.5.

. Provision for radio wavelengths has been added using expressions devised by A.T.Sinclair, RGO (private communication 1989). The refractivity model currently used is from J.M.Rueger, " Refractive Index Formulae for Electronic Distance Measurement with Radio and Millimetre Waves" , in Unisurv Report S-68 (2002), School of Surveying and Spatial Information Systems, University of New South Wales, Sydney, Australia.

. The optical refractivity for dry air is from Resolution 3 of the International Association of Geodesy adopted at the XXIIth General Assembly in Birmingham, UK, 1999.

. Various small changes have been made to gain speed.