def hmsStrToDeg(ra):
    hour, min, sec = ra.split(':')
    ra_deg = hmsToDeg(int(hour), int(min), float(sec))
    return ra_deg
Convert a string representation of RA into a float in degrees.
dataset/ETHPy150Open ejeschke/ginga/ginga/util/wcs.py/hmsStrToDeg