code: def degToHms(ra):
      
      assert (ra >= 0.0), WCSError("RA (%f) is negative" % (ra))
      assert ra < 360.0, WCSError("RA (%f) > 360.0" % (ra))
      rah = ra / degPerHMSHour
      ramin = (ra % degPerHMSHour) * HMSMinPerDeg
      rasec = (ra % degPerHMSMin) * HMSSecPerDeg
      return (int(rah), int(ramin), rasec)
docs: Converts the ra (in degrees) to HMS three tuple.
      H and M are in integer and the S part is in float.