The money will go to an agency responsible for addressing the effects of climate change in the city, including the operation of flood gates.