Text this: Computation of discharge using the index-velocity method in tidally affected areas