The recent and ongoing flooding of urban areas in northern England and the Scottish borders has in part been caused by unprecedented rates of rainfall.