If electric cars and clean energy aren’t enough to prevent rising oceans, then there’s money to be made in seawalls, indoor agriculture, and emergency housing. 

A top investment strategist for JPMorgan Asset Management sent a note to clients earlier this year with a dire forecast. Despite global efforts to stop climate change, sea levels are likely to rise dramatically, threatening the 40 percent of Americans who live along the coast.

On the other hand, there will probably be some investment opportunities in seawalls.

“A storm surge barrier system protecting New York City and parts of New Jersey could cost $2.7 million per meter,” Michael Cembalest, the asset manager’s chairman of market and investment strategy, wrote in his annual “Eye on the Market” energy newsletter in April. He added that governments would probably struggle to pay that cost, perhaps turning to either bonds or outright privatization.