Nitric oxide in the middle to upper thermosphere