def average_temperature(self, periods, unit):

        if is_list_like(periods):
            values = np.array([self._period_average_temperature(p, None) for p in periods])
            return self._unit_convert(values, unit)
        else:
            return self._period_average_temperature(periods, unit)
The average temperatures during each period as calculated by taking
dataset/ETHPy150Open impactlab/eemeter/eemeter/weather.py/WeatherSourceBase.average_temperature