Astronomers unlock the atmospheric secrets of a 'new class of planet'