next up previous 623
Next: SCULIB_ANALYSE_PHOTOM_JIGGLE - analyse the jiggle map made by a bolometer during a PHOTOM observation
Up: Library APIs
Previous: SCULIB_ADDCAR - add a constant to a real array


SCULIB_AIRMASS - calculate the airmass for a given zenith distance

Description:
This routine calculates the airmass corresponding to the input zenith distance. The airmass is just sec(Z) until it reaches 2, after which a more complex algorithm developed by Ian Coulson is used (it is described by comments in the code). There may be a discontinuity in returned airmasses around the value 2, I haven't checked.

Invocation:
CALL SCULIB_AIRMASS (Z, AIRMASS, STATUS)

Arguments:

Z = REAL (Given)
zenith distance (radians)
AIRMASS = REAL (Returned)
airmass
STATUS = INTEGER (Given and returned)
global status

Copyright
Copyright ©1993-1999 Particle Physics and Astronomy Research Council. All Rights Reserved.


next up previous 623
Next: SCULIB_ANALYSE_PHOTOM_JIGGLE - analyse the jiggle map made by a bolometer during a PHOTOM observation
Up: Library APIs
Previous: SCULIB_ADDCAR - add a constant to a real array

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