The Madrid region features a climate marked by dry summers, while average temperature varies with altitude, marking different climate subtypes. Most of the region (including the capital) has a climate intermediate between a hot-summer mediterranean climate (Köppen Csa) and a cold semi-arid climate (Köppen BSk), with a dry summer and a moderate to low amount of rain primarily distributed throughout the rest of the year (in the case of the capital, roughly an equinoctial pattern of precipitation maximums), as well as summer temperature averages over 22 °C (with daily maximums consistently surpassing 30 °C in July and August). The areas at a higher altitude close to the Sierra de Guadarrama feature a colder climate, also generally with more precipitation (particularly in the winter), with climate subtypes ranging from the Csa to the warm-summer mediterranean climate (Köppen: Csb) and the dry summer continental climate (Köppen: Dsb) on the peaks of the mountain range, with temperature averages below freezing point during January and February in the later case.