This paper presents a detailed description of a technique for handling spectra of a gas discharge under conditions of varying air humidity. Some parameters of a cold nonequilibrium plasma measured under different experimental conditions are also presented in the paper