change subsetOnHour to accept a vector of hours