Community resilience to extreme weather