

def _normalize_period(self, period):
    start = self._normalize_datetime(period.start)
    year_offset = (self.end.year - period.start.year)
    end = self._normalize_datetime(period.end, year_offset)
    return Period(start, end)

dataset/ETHPy150Open impactlab/eemeter/eemeter/weather.py TMY3WeatherSource._normalize_period/VarMisuse@26/33 `period`->`self`