def hour_number(N, time):
    """
    Takes the day number and time (in hours) and
    converts to hour number.

    Parameters
    ----------
    N : integer
        The day number
    time : float
        The time in hours (24-hour clock)

    Returns
    -------
    hour : float
        The hour number
    """
    hour = N * 24 + time

    return hour