calculate mean changes for precip and temperature