Gradient-based estimation of Manning’s friction coefficient from noisy data