Thermodynamic well surveying