Cities tend to be warmer than surrounding areas - the buildings generate a surprising amount of heat and block a lot of wind that would otherwise cool the air. The ground tends to run a little warmer too. So it means Glasgow can be surrounded by snow but the city itself gets rain!