Structure of a real-time river flood forecasting system