updated temperature interpolation script