for measuring inlet gas temperature