California's climate varies widely from desert to alpine depending on latitude, elevation and how close the area is to the coast. Most of the coastal and southern parts of the state have a Mediterranean climate with somewhat rainy winters and dry summers. The deserts in the south of the state have very hot summers and mild winters. Parts of the south have a semi-arid/steppe climate, for example San Diego.