

def _check_for_recent_data(self):
    yesterday = (date.today() - timedelta(days=1))
    if ((yesterday in self.tempC) and pd.isnull(self.tempC[yesterday])):
        self.add_year(yesterday.year, force=True)

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