Minimizing the Costs of Extreme Weather