planetary atmosphere code