During the Aug. 12 total solar eclipse over Europe, scientists aimed to study a long-standing mystery: why the Sun’s outer atmosphere, the corona, is far hotter than its visible surface. Capturing the data they needed meant being in exactly the right place at exactly the right time.

Pilots from NASA’s Johnson Space Center flew the WB-57F high altitude research aircraft from Ellington Field in Houston to Iceland, their base for flying through the path of totality to give scientists a clearer view of the Sun’s corona.

A total solar eclipse provides a unique opportunity to examine the corona because the Moon temporarily blocks the Sun’s bright surface, revealing its fainter outer atmosphere. Observations collected during this brief window can help scientists better understand how energy and material move through the corona and away from the Sun, improving our understanding of space weather.

At about 50,000 feet, the WB-57F flew above most clouds, dust, and water vapor that can interfere with observations from the ground. The altitude reduced atmospheric interference while also allowing the science instruments to observe infrared wavelengths that are largely absorbed lower in Earth’s atmosphere.