def _fetch_period(self, period):
        years = []
        if period.start is not None and period.end is not None:
            self.add_year_range(period.start.year, period.end.year)
        elif period.start is not None:
            self.add_year(period.start.year)
        elif period.end is not None:
            self.add_year(period.end.year)
dataset/ETHPy150Open impactlab/eemeter/eemeter/weather.py/NOAAWeatherSourceBase._fetch_period/original