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

@param v      variable to write to
@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