legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java
public ThreddsDataFactory.Result openFeatureDataset(String urlString, ucar.nc2.util.CancelTask task) throws IOException {

    ThreddsDataFactory.Result result = new ThreddsDataFactory.Result();
    InvDataset invDataset = processLocation(urlString, task, result);
    if (result.fatalError)
      return result;

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

    ThreddsDataFactory.Result result = new ThreddsDataFactory.Result();
    InvDataset invDataset = processLocation(urlString, task, result);
    if (result.fatalError)
      return result;

    return openFeatureDataset(null, invDataset, 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