HMSTORAD
Name
hmstorad
Purpose (one Line)
Convert from hours, minutes, and seconds of Right Ascension to radians.
Description
Category
Astronomy
Calling Sequence
hmstorad, hour, min, sec, radians
Inputs
hour : Hour. 0 <= hour < 24.
min : Minute. 0 <= min < 60.
sec : Second. 0.0 <= sec < 60.0.
If more than one of these are vectors, they must be the same length.
A mixture of scalar and vector input parameters is equivalent to all three
inputs being vectors: The scalar inputs are treated as replicated vectors.
Optional Input Parameters
Keyword Parameters
Outputs
radians : Converted angle in radians.
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
Copyright (C) 1987, by Marc W. Buie
Version dated 87/6/3
Ported by Doug Loucks, Lowell Observatory, August 12, 1993, from the
C-Language version written by Marc Buie.
2005/08/23 - MWB, minor modification to ensure full double precision
calculation regardless of input data type.