>  Docs Center  >  Libraries  >  Buie  >  HAPARSE
Libraries

HAPARSE

HAPARSE

Name


  haparse

Purpose


  Convert Hour Angle (HA) string to radians.

Description


Category


  Astronomy

Calling Sequence


  ha=haparse(str)

Inputs


  str - String (or array) to parse as an hour angle

Optional Input Parameters


Keyword Input Parameters


  DEGREES - Flag, if set, indicates the decimal value is in degrees.
                The default is radians.

Outputs


  return value is scalar or vector value of HA in radians
    Note - W,w,+ prefixes are all west hour angles (positive)
          E,e,- prefixes are all east hour angles (negative)

Keyword Output Parameters


  ERROR - Flag (scalar or vector), set if an error was seen.

Common Blocks


Side Effects


Restrictions


Procedure


Modification History


  2002/03/14, Written by Marc W. Buie, Lowell Observatory
  2009/04/26, MWB, converted to use new CVTSIXTY routine



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us