airmass: Compute the airmass at a given elevation above the horizon

Package: astutil

Usage

airmass elevation

Parameters

elevation
Elevation above horizon in either degrees or radians.
scale = 750.0
Scale factor of the Earth's atmosphere.
radians = no
Input elevation in radians instead of degrees.
airmass
On output, contains the computed airmass.

Example

Compute the airmass at an elevation of 30 degrees above the horizon

cl> airmass 30
airmass 1.996 at an elevation of 30. degrees (0.5236 radians)
above horizon