code: def read_temperature(self):
          
          UT = self.read_raw_temp()
          # Datasheet value for debugging:
          #UT = 27898
          # Calculations below are taken straight from section 3.5 of the datasheet.
          X1 = ((UT - self.cal_AC6) * self.cal_AC5) >> 15
          X2 = (self.cal_MC << 11) // (X1 + self.cal_MD)
          B5 = X1 + X2
          temp = ((B5 + 8) >> 4) / 10.0
          self.logger.debug('Calibrated temperature {0} C', temp)
          return temp
docs: Gets the compensated temperature in degrees celsius.