The city has a subtropical highland climate ("Cwb/Cwa", according to the Köppen climate classification), relatively dry and moderated in temperature by the elevation. It closely borders a tropical savanna climate ("Aw"). The altitude of the city itself varies between 857 meters (2811 feet) and 950 meters (3116 feet). Precipitation from April to August is often characterized by fine, misty rain, while heavier rains fall from October to March. Winters (July through October) tend to lack much precipitation but are cool and humid, with cold air coming up to the plateau from the ocean and often producing fog.