Ice cores are one of the data sources used in temperature reconstruction. From the linked page:
By measuring the ratios of different water isotopes in polar ice cores, we can determine how temperature in Antarctica and Greenland has changed in the past.
By measuring the ratios of different water isotopes in polar ice cores, we can determine how temperature in Antarctica and Greenland has changed in the past.