The National Oceanic and Atmospheric Administration is offering $9 million in grants to help coastal communities deal with extreme weather, changing ocean conditions and climate hazards.