palAtmdsp

Apply atmospheric-dispersion adjustments to refraction coefficients

Description:

Apply atmospheric-dispersion adjustments to refraction coefficients.

Invocation

void palAtmdsp( double tdk, double pmb, double rh, double wl1, double a1, double b1, double wl2, double a2, double b2 );

Arguments

tdk = double (Given)
Ambient temperature, K
pmb = double (Given)
Ambient pressure, millibars
rh = double (Given)
Ambient relative humidity, 0-1
wl1 = double (Given)
Reference wavelength, micrometre (0.4 recommended)
a1 = double (Given)
Refraction coefficient A for wavelength wl1 (radians)
b1 = double (Given)
Refraction coefficient B for wavelength wl1 (radians)
wl2 = double (Given)
Wavelength for which adjusted A,B required
a2 = double (Returned)
Refraction coefficient A for wavelength WL2 (radians)
b2 = double (Returned)
Refraction coefficient B for wavelength WL2 (radians)

Notes:

height above sea level 2000 m latitude 29 deg pressure 793 mb temperature 17 degC humidity 50% lapse rate 0.0065 degC/m reference wavelength 0.4 micrometre star elevation 15 deg

is about 2.5 mas RMS between 0.3 and 1.0 micrometres, and stays within 4 mas for the whole range longward of 0.3 micrometres (compared with a total dispersion from 0.3 to 20.0 micrometres of about 11 arcsec). These errors are typical for ordinary conditions and the given elevation; in extreme conditions values a few times this size may occur, while at higher elevations the errors become much smaller.