The melting of continental ice in the ocean and its impact on surface and bottom waters