Description:
This
routine converts an angle in dd:mm:ss.dd format into a double precision number in radians. It
assumes that the input string specifies the angle in degrees. The process involves removing
the ’:’ delimiters, then calling SLA_DAFIN to perform the conversion. An error will be
returned if there are less than 2 ’:’ delimiters in the string, or if the SLA routine errors.
Invocation
CALL SCULIB_DECODE_ANGLE (STRING, ANGLE, STATUS)
Arguments
STRING =
CHARACTER()
(Given)
angle in xx:mm:ss.ddd format
ANGLE = DOUBLE PRECISION (Returned)
angle in
radians
STATUS = INTEGER (Given and returned)
Global status
Copyright
Copyright
©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.