Spain also prepared for heavy rain and flooding, with over 3,000 people evacuated due to the risk of a dam overflowing.