def daily_mean_t(tmin, tmax):
    """
    Calculates mean daily temperature [deg C] from the daily minimum and
    maximum temperatures.

    Arguments:
    tmin - minimum daily temperature [deg C]
    tmax - maximum daily temperature [deg C]
    """
    # Raise exceptions
    if (tmin < -95.0 or tmin > 60.0):
        raise ValueError, 'tmin=%g is not in range -95 to +60' % tmin
    elif (tmax < -95.0 or tmax > 60.0):
        raise ValueError, 'tmax=%g is not in range -95 to +60' % tmax

    tmean = (tmax + tmin) / 2.0
    return tmean