cdm/src/main/java/ucar/nc2/dt/grid/GridDataset.java
static public GridDataset open(String location, Set<NetcdfDataset.Enhance> enhanceMode) throws java.io.IOException {
    NetcdfDataset ds = ucar.nc2.dataset.NetcdfDataset.acquireDataset(null, DatasetUrl.findDatasetUrl(location), enhanceMode, -1, null, null);
    return new GridDataset(ds, null);
  }
static public GridDataset open(String location, Set<NetcdfDataset.Enhance> enhanceMode) throws java.io.IOException {
    NetcdfDataset ds = ucar.nc2.dataset.NetcdfDataset.acquireDataset(null, DatasetUrl.findDatasetUrl(location), enhanceMode, -1, null, null);
    return new GridDataset(ds, null);
  }
static public GridDataset open ( String location , Set < NetcdfDataset . Enhance > enhanceMode ) throws java . io . IOException { NetcdfDataset ds = ucar . nc2 . dataset . NetcdfDataset . acquireDataset ( null , DatasetUrl . findDatasetUrl ( location ) , enhanceMode , - 1 , null , null ) ; return new GridDataset ( ds , null ) ; }
Open a netcdf dataset, using NetcdfDataset.defaultEnhanceMode plus CoordSystems
and turn into a GridDataset.

@param location netcdf dataset to open, using NetcdfDataset.acquireDataset().
@param enhanceMode open netcdf dataset with this enhanceMode
@return GridDataset
@throws java.io.IOException on read error
@see ucar.nc2.dataset.NetcdfDataset#acquireDataset
Open a netcdf dataset using NetcdfDataset . defaultEnhanceMode plus CoordSystems and turn into a GridDataset .