cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java
public void abort() throws java.io.IOException {
    if (spiw != null) {
      spiw.close();
      spiw = null;
    }
  }
public void abort() throws java.io.IOException {
    if (spiw != null) {
      spiw.close();
      spiw = null;
    }
  }
Abort writing to this file. The file is closed.
@throws java.io.IOException