Mitigating floods in extreme weather