def _get_var_units(obsspace, variable):
    """
    Grabs units attribute from the requested variable
    """
    var = obsspace.Variable(variable)
    units = var.read_attr('units')

    return units