

def add_year_range(self, start_year, end_year, force=False):
    'Adds temperature data to internal pandas timeseries across a\n        range of years.\n\n        Parameters\n        ----------\n        start_year : {int, string}\n            The earliest year for which data should be fetched, e.g. "2010".\n        end_year : {int, string}\n            The latest year for which data should be fetched, e.g. "2013".\n        force : bool, default=False\n            If True, forces the fetch; if false, checks to see if year\n            has been added before actually fetching.\n        '
    for year in range(start_year, (end_year + 1)):
        self.add_year(year, force)

dataset/ETHPy150Open impactlab/eemeter/eemeter/weather.py NOAAWeatherSourceBase.add_year_range/original