set_vars function

Set variable type, label or units