cdm/src/main/java/ucar/nc2/Variable.java
public void getNameAndDimensions(StringBuffer buf) {
    Formatter proxy = new Formatter();
    getNameAndDimensions(proxy, true, false);
    buf.append(proxy.toString());
  }
public void getNameAndDimensions(StringBuffer buf) {
    Formatter proxy = new Formatter();
    getNameAndDimensions(proxy, true, false);
    buf.append(proxy.toString());
  }
Get the display name plus the dimensions, eg 'name(dim1, dim2)'

@param buf add info to this StringBuffer
@deprecated use getNameAndDimensions(StringBuilder buf)