Millions of dollars are being given to a National Weather Service program aimed at protecting future towns and cities from the effects of severe weather made worse by climate change.