if len(sIndex) == 0:
        message = 'No peak flow velocity max along thalweg found exceeding: %.2f ms-1' % velocityThreshold
        log.error(message)
        raise AssertionError(message)