next up previous 269
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$\cdots$
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 up previous 269
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
19 December 2005
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council