In Madrid, the average daytime maximum temperature is 19C (but the record high, for October is 28C). At night, temperatures drop to an average of 10C (but the record low is 0C). On average there are 8 wet days in the month, with a total of 53mm rainfall (which is only slightly less than London):
http://www.bbc.co.uk/weather/world/city_guides /city.shtml?tt=TT004240
Figures for Spain's Bay of Biscay coastline (Santander) are here:
http://www.bbc.co.uk/weather/travel/city_guide s/city.shtml?tt=TT004230
For southern Spain, see the figures for Seville, here:
http://www.bbc.co.uk/weather/travel/city_guide s/city.shtml?tt=TT004250
For the Costa Brava & Costa Dorada, see Barcelona, here:
http://www.bbc.co.uk/weather/travel/city_guide s/city.shtml?tt=TT004270
Chris