Next:
SLA_DAFIN - Sexagesimal character string to angle
Up:
SUBPROGRAM SPECIFICATIONS
Previous:
SLA_CTF2R - Hour,Min,Sec to Radians
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 0-359
2 = IAMIN outside range 0-59
3 = ASEC outside range 0-59.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.
Next:
SLA_DAFIN - Sexagesimal character string to angle
Up:
SUBPROGRAM SPECIFICATIONS
Previous:
SLA_CTF2R - Hour,Min,Sec to Radians
SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
25 January 2000
E-mail:ptw@star.rl.ac.uk