def convert_yearday_to_8760h_selection(yearday):
    """Select from 8760 hours the 24 hours of yearday

    Arguments
    ---------
    yearday : int
        Range between 0 and 364
    """
    hour_start = yearday * 24
    hour_end = (yearday + 1) * 24
    hours = range(hour_start, hour_end, 1)
    return hours
