NAME:
hastr
PURPOSE:
Convert an Hour Angle to a string.
DESCRIPTION:
CATEGORY:
Astronomy
CALLING SEQUENCE:
hastr,ha,places,str
INPUTS:
ha - scalar or vector, hour angle in radians
places - output format and precision (see cvtsixty).
OPTIONAL INPUT PARAMETERS:
KEYWORD INPUT PARAMETERS:
DEGREES - Flag, if set it means the input is in decimal degrees.
SEPCHAR - Separator character for the fields in the position.
Default=':'. Warning, if you do not use ':' then the
string may not be parsable by raparse.
OUTPUTS:
str - formatted string
KEYWORD OUTPUT PARAMETERS:
ERROR - Flag (scalar or vector), set if an error was seen.
COMMON BLOCKS:
SIDE EFFECTS:
RESTRICTIONS:
PROCEDURE:
MODIFICATION HISTORY:
Written by Marc W. Buie, Lowell Observatory, 2001/10/09
2009/04/26, MWB, converted to use new CVTSIXTY routine