The dissociation of oxygen in the high atmosphere