Recognition is spreading that communities need to build resilience to climatic and coastal threats even as the world seeks ways to curb emissions driving global warming.