define #var_on for time_vars as well as data_vars