def extend_360_day_to_365(df, attribute):
    """Add evenly distributed days across the 360 days

    Return
    ------
    out_list : list
        Returns list with days with the following attributes
        e.g. [[lat, long, yearday365, value]]
    """
    days_to_duplicate = [60, 120, 180, 240, 300]
    out_list = []
    day_cnt, day_cnt_365 = 0, 0
    for i in df.index:
        day_cnt += 1
        latitude = df.get_value(i, 'lat')
        longitude = df.get_value(i, 'lon')
        value = df.get_value(i, attribute)
        if day_cnt in days_to_duplicate:
            out_list.append([latitude, longitude, day_cnt_365, value])
            day_cnt_365 += 1
        day_cnt_365 += 1
        out_list.append([latitude, longitude, day_cnt_365, value])
        if day_cnt == 360:
            day_cnt = 0
            day_cnt_365 = 0
    return out_list
