Fighting the global water crisis in real time