(a) Total production (solid lines), primary (photo) production (dashed lines) and secondary production (dot–dashed lines) and (b) production efficiency [kinetic model result (crosses), polynomial fit (solid line) and transition altitude (dashed line)] versus altitude (km). Production rates are in units of cm−3 s−1 versus altitude in km. Top left O++, top right CO+2, bottom left O+2, bottom right O++2.