Analysis of plume-buffer gas interaction through molecular and atomic oxygen absorption spectroscopy