Adiabatic temperature change from non-adiabatic measurements