An infrared hygrometer witH on-line temperature compensation