legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java
public void writeStringData(String varName, Array values) throws java.io.IOException, InvalidRangeException {
    writeStringData(varName, new int[values.getRank()], values);
  }
public void writeStringData(String varName, Array values) throws java.io.IOException, InvalidRangeException {
    writeStringData(varName, new int[values.getRank()], values);
  }
Write String data to a CHAR variable, origin assumed to be 0. Must not be in define mode.

@param varName name of variable, must be of type CHAR.
@param values  write this array; must be ArrayObject of String
@throws IOException if I/O error
@throws ucar.ma2.InvalidRangeException if values Array has illegal shape