Modeling river flow for flood forecasting: A case study on the Ter river