Original: It flew within 20 000 km of the planet's cloud tops.
Simplified: It flew as close as 20,000 km above the planet's cloud tops.