next up previous 623
Next: SCULIB_COVSRT - Numerical Recipes in Fortran routine called by SCULIB_MRQMIN
Up: Library APIs
Previous: SCULIB_COPYR - copy one real array to another


SCULIB_CORRECT_EXTINCTION - correct bolometers for sky opacity

Description:
This routine corrects bolometer data for the effect of sky opacity. It does this by calculating the airmass of the point that each bolometer was looking at, then multiplying the data by exp (airmass $ *$ TAUZ). Bolometers with bad data quality will be ignored.

Invocation:
CALL SCULIB_CORRECT_EXTINCTION (SIZE_BOL, N_BOL, BOL_DATA, BOL_VARIANCE, BOL_RA, BOL_DEC, LST, LAT_OBS, TAUZ, STATUS)

Arguments:

SIZE_BOL = INTEGER (Given)
dimension of arrays
N_BOL = INTEGER (Given)
used size of arrays
BOL_DATA (SIZE_BOL) = REAL (Given and returned)
bolometer data
BOL_VARIANCE (SIZE_BOL) = REAL (Given and returned)
variance on BOL_DATA
BOL_RA (SIZE_BOL) = DOUBLE PRECISION (Given)
apparent RA of bolometer (radians)
BOL_DEC (SIZE_BOL) = DOUBLE PRECISION (Given)
apparent dec of bolometer (radians)
LST = DOUBLE PRECISION (Given)
sidereal time (radians)
LAT_OBS = DOUBLE PRECISION (Given)
latitude of observatory (radians)
TAUZ = REAL (Given)
the zenith sky opacity
STATUS = INTEGER (Given and returned)
global status

Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.


next up previous 623
Next: SCULIB_COVSRT - Numerical Recipes in Fortran routine called by SCULIB_MRQMIN
Up: Library APIs
Previous: SCULIB_COPYR - copy one real array to another

SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council