structural:reformatting, stylistic:style_transfer
Climate

The climate of Catalonia is diverse. The populated areas lying by the coast in Tarragona, Barcelona and Girona provinces feature a Hot-summer Mediterranean climate (Köppen Csa). The inland part (including the Lleida province and the inner part of Barcelona province) show a mostly Mediterranean climate (Köppen Csa). The Pyrenean peaks have a continental (Köppen D) or even Alpine climate (Köppen ET) at the highest summits, while the valleys have a maritime or oceanic climate sub-type (Köppen Cfb).

In the Mediterranean area, summers are dry and hot with sea breezes, and the maximum temperature is around 26–31 °C (79–88 °F). Winter is cool or slightly cold depending on the location. It snows frequently in the Pyrenees, and it occasionally snows at lower altitudes, even by the coastline. Spring and autumn are typically the rainiest seasons, except for the Pyrenean valleys, where summer is typically stormy.

The inland part of Catalonia is hotter and drier in summer. Temperature may reach 35 °C (95 °F), some days even 40 °C (104 °F). Nights are cooler there than at the coast, with the temperature of around 14–17 °C (57–63 °F). Fog is not uncommon in valleys and plains; it can be especially persistent, with freezing drizzle episodes and subzero temperatures during winter, mainly along the Ebro and Segre valleys and in Plain of Vic.