Planetary atmosphere code