Predicting floods following extreme rainfall in the central Andes is enabled by a new method. Climate change has made these events more frequent and more severe in recent decades. Now complex networks analysis of satellite weather data makes it possible to produce a robust warning system for the first time.