def write_min_max_result_to_txt(file_path, values, yearday, yearday_date):
    """Write min and max values including data information to csv file
    """
    file = open(file_path, 'w')
    file.write('Yearday: {}'.format(yearday) + '\n')
    file.write('date ' + str(yearday_date) + '\n')
    for value in values:
        file.write('{}'.format(value) + '\n')
    file.close()
    return
