Rising sea levels and violent weather are testing residents in some of the most picturesque cities along the Pacific Coast.