def concat_units(var, units, rawstr=False, ucstr=False):
    """Concatenate variable with units in parentheses.

    Parameters
    ----------
    var, units : str
    rawstr, ucstr : bool, optional

    Returns
    -------
    str

    """
    if rawstr:
        return '{} ({})'.format(var, units)
    elif ucstr:
        return u'{} ({})'.format(var, units)
    else:
        return '{} ({})'.format(var, units)
