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

@param strict strictly comply with ncgen syntax, with name escaping. otherwise, get extra info, no escaping
@return display name plus the dimensions