measure the depth of water