public static NetcdfDataset acquireFeatureCollection(String path) throws IOException { Formatter formatter = new Formatter(System.err); FeatureCollectionConfigBuilder builder = new FeatureCollectionConfigBuilder(formatter); FeatureCollectionConfig config = builder.readConfigFromFile( path.toString()); // this is the path to the feature collection XML Fmrc fmrc = Fmrc.open(config, formatter); NetcdfDataset dataset = new NetcdfDataset(); fmrc.getDataset2D(dataset); dataset.setLocation(path); return dataset; }
public static NetcdfDataset acquireFeatureCollection(String path) throws IOException { Formatter formatter = new Formatter(System.err); FeatureCollectionConfigBuilder builder = new FeatureCollectionConfigBuilder(formatter); FeatureCollectionConfig config = builder.readConfigFromFile( path.toString()); // this is the path to the feature collection XML Fmrc fmrc = Fmrc.open(config, formatter); NetcdfDataset dataset = new NetcdfDataset(); fmrc.getDataset2D(dataset); dataset.setLocation(path); return dataset; }
if (null != result) result.setLocation( location); return result;
if (ncmlLocation != null) targetDS.setLocation(ncmlLocation); targetDS.setId(netcdfElem.getAttributeValue("id")); targetDS.setTitle(netcdfElem.getAttributeValue("title"));
if (ncmlLocation != null) targetDS.setLocation(ncmlLocation); targetDS.setId(netcdfElem.getAttributeValue("id")); targetDS.setTitle(netcdfElem.getAttributeValue("title"));
if (ncmlLocation != null) targetDS.setLocation(ncmlLocation); targetDS.setId(netcdfElem.getAttributeValue("id")); targetDS.setTitle(netcdfElem.getAttributeValue("title"));
if (timeInv == null) return null; NetcdfDataset result = new NetcdfDataset(); // make a copy, so that this object can coexist with previous incarnations result.setLocation(lite.collectionName); transferGroup(proto.getRootGroup(), result.getRootGroup(), result); result.finish();
if (timeInv == null) return null; NetcdfDataset result = new NetcdfDataset(); // make a copy, so that this object can coexist with previous incarnations result.setLocation(lite.collectionName); transferGroup(proto.getRootGroup(), result.getRootGroup(), result); result.finish();
if (timeInv == null) return null; NetcdfDataset result = new NetcdfDataset(); // make a copy, so that this object can coexist with previous incarnations result.setLocation(lite.collectionName); transferGroup(proto.getRootGroup(), result.getRootGroup(), result); result.finish();
result.setLocation(lite.collectionName); transferGroup(proto.getRootGroup(), result.getRootGroup(), result); result.finish();
result.setLocation(lite.collectionName); transferGroup(proto.getRootGroup(), result.getRootGroup(), result); result.finish();
result.setLocation(lite.collectionName); transferGroup(proto.getRootGroup(), result.getRootGroup(), result); result.finish();
private NetcdfDataset createDataset(InventoryGetter invGetter, String type, String name) throws IOException { NetcdfDataset newds = new NetcdfDataset(); newds.setLocation(makeLocation(type, name));