legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java
static public NetcdfFileWriteable createNew(String location, boolean fill) throws IOException {
    return new NetcdfFileWriteable(location, fill, false);
  }
static public NetcdfFileWriteable createNew(String location, boolean fill) throws IOException {
    return new NetcdfFileWriteable(location, fill, false);
  }
static public NetcdfFileWriteable createNew ( String location , boolean fill ) throws IOException { return new NetcdfFileWriteable ( location , fill , false ) ; }
Create a new Netcdf file, put it into define mode. Make calls to addXXX(), then
when all objects are added, call create(). You cannot read or write data until create() is called.
Setting fill = false is more efficient, use when you know you will write all data.

@param location name of new file to open; if it exists, will overwrite it.
@param fill     if true, the data is first written with fill values.
Leave false if you expect to write all data values, set to true if you want to be
sure that unwritten data values have the fill value in it. (default is false)
@return new file that can be written to
@throws IOException on I/O error
Create a new Netcdf file put it into define mode . Make calls to addXXX () then when all objects are added call create () . You cannot read or write data until create () is called . Setting fill = false is more efficient use when you know you will write all data .