extract_variable_metadata function

Extract Metadata from a Dataset