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

@return display name plus the dimensions