I am trying to compile a drought index using Earth Engine. Most of the variables have multiple records over the course of a day. To reduce them to a monthly median value, I