For years, astronomers have sought a way to directly observe the atmospheres of exoplanets, worlds orbiting distant stars.