The surrounding mountains have an influence on the climate on both precipitation and temperatures, leading to wide variations within a short distance.
The surrounding mountains have an influence on the climate (which includes both precipitation and temperature). This leads to wide variations within a short distance.