

def get_gsod_data(self, station, year):
    filename_format = '/pub/data/gsod/{year}/{station}-{year}.op.gz'
    lines = self._retreive_file_lines(filename_format, station, year)
    days = []
    for line in dt[1:]:
        columns = line.split()
        date_str = columns[2].decode('utf-8')
        temp_F = float(columns[3])
        temp_C = ((5.0 / 9.0) * (temp_F - 32.0))
        dt = datetime.strptime(date_str, '%Y%m%d').date()
        days.append({
            'temp_C': temp_C,
            'date': dt,
        })
    return days

dataset/ETHPy150Open impactlab/eemeter/eemeter/weather.py NOAAClient.get_gsod_data/VarMisuse@39/70 `lines`->`dt`