The average annual temperature is . This is rather high, considering the city's relatively high altitude of about , and is due mainly to its sheltered valley position, which acts as a heat trap and cuts it off from cool southerly and south-easterly air masses for much of the year.