Torrential rain is expected to blast Edinburgh and the Lothians later this week, forecasters have warned.
The Met Office has issued a yellow weather warning for thunderstorms across the east coast on Wednesday with the risk of floods, lightning strikes, hail and strong winds.
Forecasters predicted delays on the road network and train cancellations ahead of the expected deluge.
The Met Office said: "In a few places these thunderstorms could produce 30 mm of rainfall in an hour and 40 to 50 mm in a few hours. Some parts of the warning area will miss the heaviest rainfall."
July has proved to be an erratic month for the Capital's weather, the new thunder warnings come just days after Edinburgh recorded its hottest day on record on Thursday 25 July.