SLA_CAF2R

Deg,Arcmin,Arcsec to Radians

ACTION:
Convert degrees, arcminutes, arcseconds to radians (single precision).
CALL:
CALL sla_CAF2R (IDEG, IAMIN, ASEC, RAD, J)
GIVEN:

IDEG

I

degrees

IAMIN

I

arcminutes

ASEC

R

arcseconds


RETURNED:

RAD

R

angle in radians

J

I

status:

  1 = IDEG outside range 0359

  2 = IAMIN outside range 059

  3 = ASEC outside range 059.999


NOTES:
(1)
The result is computed even if any of the range checks fail.
(2)
The sign must be dealt with outside this routine.