Mid-state summer ties records for heat and rainfall