how to measure discharge of river