Hydrostatic level measurement