A team of researchers in Spain has developed a new mathematical method to easily predict rises in the level of the Ebro River in Zaragoza based on water flow recorded in Castejón (Navarre). The system has a 97.5% success rate for 20-hour predictions.