In April, residents in Houston received as much as 20 inches of rain, causing hundreds of flight cancellations, the closure of city offices and public schools, and power outages affecting tens of thousands of buildings.