cdm/src/main/java/thredds/client/catalog/tools/DataFactory.java
public DataFactory.Result openFeatureDataset(String urlString, ucar.nc2.util.CancelTask task) throws IOException {

    DataFactory.Result result = new DataFactory.Result();
    Dataset dataset = openCatalogFromLocation(urlString, task, result);
    if (result.fatalError || dataset == null)
      return result;

    return openFeatureDataset(null, dataset, task, result);
  }
public DataFactory.Result openFeatureDataset(String urlString, ucar.nc2.util.CancelTask task) throws IOException {

    DataFactory.Result result = new DataFactory.Result();
    Dataset dataset = openCatalogFromLocation(urlString, task, result);
    if (result.fatalError || dataset == null)
      return result;

    return openFeatureDataset(null, dataset, task, result);
  }
public DataFactory . Result openFeatureDataset ( String urlString , ucar . nc2 . util . CancelTask task ) throws IOException { DataFactory . Result result = new DataFactory . Result ( ) ; Dataset dataset = openCatalogFromLocation ( urlString , task , result ) ; if ( result . fatalError || dataset == null ) return result ; return openFeatureDataset ( null , dataset , task , result ) ; }
Open a FeatureDataset from a URL location string. Example URLS: <ul>
<li>http://localhost:8080/test/addeStationDataset.xml#surfaceHourly
<li>thredds:http://localhost:8080/test/addeStationDataset.xml#surfaceHourly
<li>thredds://localhost:8080/test/addeStationDataset.xml#surfaceHourly
<li>thredds:file:c:/test/data/catalog/addeStationDataset.xml#AddeSurfaceData (absolute file)
<li>thredds:resolve:resolveURL
</ul>

@param urlString [thredds:]catalog.xml#datasetId
@param task      may be null
@return ThreddsDataFactory.Result check fatalError for validity
@throws java.io.IOException on read error
Open a FeatureDataset from a URL location string . Example URLS : <ul > <li > http : // localhost : 8080 / test / addeStationDataset . xml#surfaceHourly <li > thredds : http : // localhost : 8080 / test / addeStationDataset . xml#surfaceHourly <li > thredds : // localhost : 8080 / test / addeStationDataset . xml#surfaceHourly <li > thredds : file : c : / test / data / catalog / addeStationDataset . xml#AddeSurfaceData ( absolute file ) <li > thredds : resolve : resolveURL < / ul >