Measurement of water level in an immersed container