Thermal effects in gas absorption