cdm/src/main/java/ucar/nc2/NCdumpW.java
static public void printArray(Array array, PrintWriter pw) {
    printArray(array, null, null, pw, new Indent(2), null, true);
  }
static public void printArray(Array array, PrintWriter pw) {
    printArray(array, null, null, pw, new Indent(2), null, true);
  }
Print array to PrintWriter