NAME:
STRINGAD
PURPOSE:
Converts a string of sexigesimal coordinates into decimal degrees.
CALLING SEQUENCE:
STRINGAD, COORDS, RA, DEC
INPUT:
COORDS A string of coordinates (e.g. '17 00 45.2 25 4 32.4')
It should have six numbers delimited by spaces or colons
OUTPUT:
RA Right Ascension, decimal degrees, scalar
DEC Declination, decimal degrees, scalar
PROCEDURES CALLED:
Getopt Ten
HISTORY:
09-AUG-90 Version 1 written by Kerry McQuade
20-AUG-90 Put code to account for '-0' back in after it was
removed by someone. E. Deutsch
17-JUL-95 Added support for coordinates separated by colons, e.g.
17:00:45.2 25:4:32.4, which IRAF uses. E. Deutsch
(See /home/xmmssc/soft/idl/pro/astro/stringad.pro)