We analysed data from hundreds of rainfall stations across Scotland.