cdm/src/main/java/ucar/nc2/NetcdfFile.java
public void writeCDL(PrintWriter pw, boolean strict) {
    toStringStart(pw, strict);
    toStringEnd(pw);
    pw.flush();
  }
public void writeCDL(PrintWriter pw, boolean strict) {
    toStringStart(pw, strict);
    toStringEnd(pw);
    pw.flush();
  }
Write CDL representation to PrintWriter.

@param pw     write to this PrintWriter
@param strict if true, make it stricly CDL, otherwise, add a little extra info