Heavy rain causes local flooding