legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java
public void makeFile(String location, ucar.nc2.dt.GridDataset gds, List<String> gridList,
                       LatLonRect llbb, CalendarDateRange range,
                       boolean addLatLon,
                       int horizStride, int stride_z, int stride_time)
          throws IOException, InvalidRangeException {
    makeFile(location, gds, gridList, llbb, horizStride, null, range, stride_time, addLatLon, NetcdfFileWriter.Version.netcdf3);
  }
public void makeFile(String location, ucar.nc2.dt.GridDataset gds, List<String> gridList,
                       LatLonRect llbb, CalendarDateRange range,
                       boolean addLatLon,
                       int horizStride, int stride_z, int stride_time)
          throws IOException, InvalidRangeException {
    makeFile(location, gds, gridList, llbb, horizStride, null, range, stride_time, addLatLon, NetcdfFileWriter.Version.netcdf3);
  }
public void makeFile ( String location , ucar . nc2 . dt . GridDataset gds , List < String > gridList , LatLonRect llbb , CalendarDateRange range , boolean addLatLon , int horizStride , int stride_z , int stride_time ) throws IOException , InvalidRangeException { makeFile ( location , gds , gridList , llbb , horizStride , null , range , stride_time , addLatLon , NetcdfFileWriter . Version . netcdf3 ) ; }
Write a CF compliant Netcdf-3 file from any gridded dataset.

@param location    write to this location on disk
@param gds         A gridded dataset
@param gridList    the list of grid names to be written, must not be empty. Full name (not short).
@param llbb        optional lat/lon bounding box
@param range       optional time range
@param addLatLon   should 2D lat/lon variables be added, if its a projection coordinate system?
@param horizStride x,y stride
@param stride_z    not implemented yet
@param stride_time not implemented yet
@throws IOException           if write or read error
@throws InvalidRangeException if subset is illegal
Write a CF compliant Netcdf - 3 file from any gridded dataset .