def METHOD_NAME(self):
    """Gets the measurement in units by reading the"""
    if not self.sensor:
        self.logger.error("Error 101: Device not set up. See https://kizniche.github.io/Mycodo/Error-Codes#error-101 for more info.")
        return
    self.return_dict = copy.deepcopy(measurements_dict)
    if self.is_enabled(0):
        self.value_set(0, self.sensor.temperature + self.temp_offset)
    if self.is_enabled(1):
        self.value_set(1, self.sensor.relative_humidity)
    if self.is_enabled(2):
        self.value_set(2, convert_from_x_to_y_unit('hPa', 'Pa', self.sensor.pressure))
    if self.is_enabled(3):
        self.value_set(3, self.sensor.gas)
    self.logger.debug("Temp: {t}, Hum: {h}, Press: {p}, Gas: {g}".format(
        t=self.value_get(0), h=self.value_get(1), p=self.value_get(2), g=self.value_get(3)))
    if self.is_enabled(0) and self.is_enabled(1) and self.is_enabled(4):
        self.value_set(4, calculate_dewpoint(self.value_get(0), self.value_get(1)))
    if self.is_enabled(5):
        self.value_set(5, self.sensor.altitude)
    if self.is_enabled(0) and self.is_enabled(1) and self.is_enabled(6):
        self.value_set(6, calculate_vapor_pressure_deficit(self.value_get(0), self.value_get(1)))
    return self.return_dict