Measurement of intensity ratio of nitrogen bands as a function of field strength