The climate of California varies widely, from hot desert to subarctic, depending on latitude, elevation, and proximity to the coast. California's coastal regions, the Sierra Nevada foothills, and much of the Central Valley have a Mediterranean climate, with warmer, drier weather in summer and cooler, wetter weather in winter. The influence of the ocean generally moderates temperature extremes, creating warmer winters and substantially cooler summers in coastal areas.