function processVariable(tag) {
  const newVariable = {}
  newVariable.tag = tag
  data.variables[tag.longname] = newVariable
  data.files[tag.memberof].variables.push(newVariable)