A method for determining a chance to enable a zeroing of gas analysis is disclosed herein. The method includes emitting radiation, and receiving emitted radiation, the received radiation comprising a first wavelength range absorbed by the at least one desired gas component and one or more disturbing factor, and a second wavelength range absorbed by the disturbing factor, the first wavelength range differing from the second wavelength range. The method also includes providing to a processing unit a first signal data indicative of a concentration of the at least one desired gas component and absorption of the disturbing factor, and a second signal data indicative of absorption of the disturbing factor. The method also includes determining a stability of the first and second signal data as a function of time, and if they are substantially stable enabling the zeroing to improve a measurement accuracy.