def _hour_angle_to_hours(times, hourangle, longitude, equation_of_time):
naive_times = times.tz_localize(None)  <EOL>tzs = <NUM_LIT:1> / NS_PER_HR * (<EOL>naive_times.astype(np.int64) - times.astype(np.int64))<EOL>hours = (hourangle - longitude - equation_of_time / <NUM_LIT>) / <NUM_LIT> + <NUM_LIT> + tzs<EOL>return np.asarray(hours)<EOL>
converts hour angles in degrees to hours as a numpy array