Map from Google - Cordoba

The climate of Córdoba, a city of Andalusia, can be defined as Mediterranean, but for the particularly hot summer it is an almost African city. In fact Córdoba is in summer the warmest city not only in Spain but throughout Europe, often even more than the nearby city of Seville, which is equally located in the flat area located to the south of the Sierra Morena and crossed by the Guadalquivir, but a little closer to the sea.
Here are the average temperatures.
Average temperatures - Córdoba
CórdobaJanFebMarAprMayJunJulAugSepOctNovDec
CórdobaJFMAMJJASOND
Min (°C)456912161819161285
Max (°C)151721222632363632251915
Min (°F)394143485461646661544641
Max (°F)596370727990979790776659

Precipitation amounts to around 535 millimetres (21 inches) per year, so it is not abundant, and is concentrated, as is normal in Mediterranean climates, between autumn and early spring. The rainiest month is December, with 90 mm (3.5 in). Here is the average precipitation.
Average precipitation - Córdoba
CórdobaJanFebMarAprMayJunJulAugSepOctNovDecYear
CórdobaJFMAMJJASONDY
Prec. (mm)6555406035153325608590535
Prec. (in)2.62.21.62.41.40.60.10.112.43.33.521.1
Days76585211266857

Winter, from December to February, is mild: the average temperature is about 9/10 °C (48/50 °F). There are many sunny days, though there can be also waves of bad weather, with wind and rain. Very cold periods are rare, however, on colder nights the temperature can drop to freezing, or even a few degrees below, but during the day it remains very rarely below 10 °C (50 °F).

Spring is a bit unstable in March and sometimes in April, with windy and sometimes rainy days, but overall it's mild and sunny, actually it becomes more and more stable and soon even hot, before the rest of Europe. Already in April, daytime temperatures often approach 30 °C (86 °F). In May, the first very hot days can occur, especially in the second half of the month.

Summer, from June to mid-September, is torrid, dry and sunny, with highs usually about 36 °C (97 °F) in July and August, but with fairly frequent periods around 40 °C (104 °F). In the worst times, the temperature can touch 45/46 °C (113/115 °F). The sun beats down, and the rains are usually very rare. In fact even September is a summer month, especially in the first half, because highs usually exceed 30 °C (86 °F) and the sun shines.
The sea is not very close, however, a bit of breeze can get here. Besides, the humidity is not high, and the daily temperature range is considerable, so that nights bring almost always a bit of relief.

Autumn, from mid-September to November, is initially hot and sunny: still in October, especially in the first half, the temperature often reaches 30 °C (86 °F). However, in this season the rain starts to fall.

The amount of sunshine in Córdoba is great in summer, when clear skies prevail, it is good in spring, especially from mid-April onwards, and it is still decent in autumn and winter, when there is no shortage of cloudy days, during periods of bad weather, but there are also sunny periods.
Sunshine - Córdoba
CórdobaJanFebMarAprMayJunJulAugSepOctNovDec
CórdobaJFMAMJJASOND
Sun (hours)677891112118765

Córdoba


The best months to visit Córdoba are April, May and October, to avoid the summer heat and the winter rains, though sometimes it can rain also in these months. Those who can stand the heat can choose summer, being prepared for the likely scorching heat.
In winter you can find several pleasant days, sunny and spring-like, although it can get cold at night, and waves of bad weather are not excluded.