legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java
static public void makeFile(String location, ucar.nc2.dt.GridDataset gds, List<String> gridList, LatLonRect llbb, CalendarDateRange range)
          throws IOException, InvalidRangeException {
    CFGridWriter writer = new CFGridWriter();
    writer.makeFile(location, gds, gridList, llbb, range, false, 1, 1, 1);
  }
static public void makeFile(String location, ucar.nc2.dt.GridDataset gds, List<String> gridList, LatLonRect llbb, CalendarDateRange range)
          throws IOException, InvalidRangeException {
    CFGridWriter writer = new CFGridWriter();
    writer.makeFile(location, gds, gridList, llbb, range, false, 1, 1, 1);
  }
static public void makeFile ( String location , ucar . nc2 . dt . GridDataset gds , List < String > gridList , LatLonRect llbb , CalendarDateRange range ) throws IOException , InvalidRangeException { CFGridWriter writer = new CFGridWriter ( ) ; writer . makeFile ( location , gds , gridList , llbb , range , false , 1 , 1 , 1 ) ; }
Write a netcdf-3 file from a subset of a grid dataset

@param location write new file
@param gds      from this grid dataset
@param gridList just these grids
@param llbb     horiz subset, may be null
@param range    time subset, may be null
@throws IOException
@throws InvalidRangeException
Write a netcdf - 3 file from a subset of a grid dataset