get_vars_for_dataset function

Get a list of variables for a given dataset.