temperature spread with class and array data