legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java
public void addVariableAttribute(String varName, String attName, Array value) {
    Attribute att = new Attribute(attName, value);
    addVariableAttribute(varName, att);
  }
public void addVariableAttribute(String varName, String attName, Array value) {
    Attribute att = new Attribute(attName, value);
    addVariableAttribute(varName, att);
  }
Add an attribute of type Array to the named Variable. Must be in define mode.

@param varName name of variable. IllegalArgumentException if not valid name.
@param attName name of attribute.
@param value   Array of valkues