SLA_DAF2R

Deg,Arcmin,Arcsec to Radians

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

IDEG

I

degrees

IAMIN

I

arcminutes

ASEC

D

arcseconds


RETURNED:

RAD

D

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.