Dani Pedrosa repeated his morning form to top a wet second practice for the German MotoGP at the Sachsenring, ahead of local star Stefan Bradl.
After a warm and dry morning, a brief but heavy downpour soaked the circuit just before the start of the afternoon 45-minutes.
The deluge soon passed, but the session remained wet thanks to the arrival of further dark clouds and accompanying on-off rain.
But sunshine broke through in the closing minutes, when a dry line also appeared in places and the fastest lap times were set.
Pedrosa - who suffered a big accident while leading the wet 2008 German GP, but has been victorious in the dry for the past two years - led most of the session with his best time coming on the 19th of 21 laps.
Honda LCR rookie Bradl then slotted into second place on his final lap, lapping just 0.076s behind Pedrosa, with joint MotoGP title leader Jorge Lorenzo completing a top three covered by just 0.099s for Yamaha.
Fellow championship leader Casey Stoner was just 0.180s behind his Repsol Honda team-mate Pedrosa in fourth place.
Joining Pedrosa, Stoner, Lorenzo and Hector Barbera in leading the session at some stage was Ducati's Valentino Rossi, who moved from eleventh in the dry to fifth in the wet (+0.304s).
Team-mate Nicky Hayden was a fraction slower in sixth, with Cal Crutchlow recovering from an off-track moment early on reach seventh place for Yamaha Tech 3. Team-mate Andrea Dovizioso was 0.073s behind the Englishman and less than 0.6s from Pedrosa.
Lorenzo's team-mate Ben Spies improved just one place from his tenth in the dry, with Barbera dropping to tenth for Pramac Ducati and Alvaro Bautista eleventh for Gresini Honda.
Bautista will start last on the grid after being penalised for bringing down Lorenzo at turn one in Assen.