public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/SimpleTrajectory.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/BuoyShipSynop.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Suomi.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Jason2.xml", wantFeatureType, ds, errlog); }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Jason2.xml", wantFeatureType, ds, errlog); }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Jason2.xml", wantFeatureType, ds, errlog); }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); if(ds.getConventionUsed().equalsIgnoreCase("Cosmic1")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic1.xml", wantFeatureType, ds, errlog); else if(ds.getConventionUsed().equalsIgnoreCase("Cosmic2")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic2.xml", wantFeatureType, ds, errlog); else if(ds.getConventionUsed().equalsIgnoreCase("Cosmic3")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic3.xml", wantFeatureType, ds, errlog); else return null; //return reader.readConfigXML("C:\\dev\\tds\\thredds\\cdm\\src\\main\\resources\\resources\\nj22\\pointConfig\\Cosmic1.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Nldn.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Suomi.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/BuoyShipSynop.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Nldn.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/BuoyShipSynop.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Nldn.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); if(ds.getConventionUsed().equalsIgnoreCase("Cosmic1")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic1.xml", wantFeatureType, ds, errlog); else if(ds.getConventionUsed().equalsIgnoreCase("Cosmic2")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic2.xml", wantFeatureType, ds, errlog); else if(ds.getConventionUsed().equalsIgnoreCase("Cosmic3")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic3.xml", wantFeatureType, ds, errlog); else return null; //return reader.readConfigXML("C:\\dev\\tds\\thredds\\cdm\\src\\main\\resources\\resources\\nj22\\pointConfig\\Cosmic1.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { PointConfigXML reader = new PointConfigXML(); if(ds.getConventionUsed().equalsIgnoreCase("Cosmic1")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic1.xml", wantFeatureType, ds, errlog); else if(ds.getConventionUsed().equalsIgnoreCase("Cosmic2")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic2.xml", wantFeatureType, ds, errlog); else if(ds.getConventionUsed().equalsIgnoreCase("Cosmic3")) return reader.readConfigXMLfromResource("resources/nj22/pointConfig/Cosmic3.xml", wantFeatureType, ds, errlog); else return null; //return reader.readConfigXML("C:\\dev\\tds\\thredds\\cdm\\src\\main\\resources\\resources\\nj22\\pointConfig\\Cosmic1.xml", wantFeatureType, ds, errlog); } }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { String title = ds.findAttValueIgnoreCase(null, "version", null); assert title != null; boolean v4 = title.startsWith("Forecast Systems Lab 1.4"); String xml = v4 ? "resources/nj22/pointConfig/FslRaob14.xml" : "resources/nj22/pointConfig/FslRaob13.xml"; PointConfigXML reader = new PointConfigXML(); TableConfig tc = reader.readConfigXMLfromResource(xml, wantFeatureType, ds, errlog); for (TableConfig inner : tc.children.get(0).children) makeMultidimInner(ds, tc, inner, inner.outerName, inner.innerName); return tc; }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { String title = ds.findAttValueIgnoreCase(null, "version", null); assert title != null; boolean v4 = title.startsWith("Forecast Systems Lab 1.4"); String xml = v4 ? "resources/nj22/pointConfig/FslRaob14.xml" : "resources/nj22/pointConfig/FslRaob13.xml"; PointConfigXML reader = new PointConfigXML(); TableConfig tc = reader.readConfigXMLfromResource(xml, wantFeatureType, ds, errlog); for (TableConfig inner : tc.children.get(0).children) makeMultidimInner(ds, tc, inner, inner.outerName, inner.innerName); return tc; }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { String title = ds.findAttValueIgnoreCase(null, "version", null); boolean v4 = title.startsWith("Forecast Systems Lab 1.4"); String xml = v4 ? "resources/nj22/pointConfig/FslRaob14.xml" : "resources/nj22/pointConfig/FslRaob13.xml"; PointConfigXML reader = new PointConfigXML(); TableConfig tc = reader.readConfigXMLfromResource(xml, wantFeatureType, ds, errlog); for (TableConfig inner : tc.children.get(0).children) makeMultidimInner(ds, tc, inner, inner.outerName, inner.innerName); return tc; }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { String title = ds.findAttValueIgnoreCase(null, "title", null); if (title == null) title = ds.findAttValueIgnoreCase(null, "DD_reference", null); boolean isRass = title.startsWith("RASS data"); String xml = isRass ? "resources/nj22/pointConfig/FslRassProfiler.xml" : "resources/nj22/pointConfig/FslWindProfiler.xml"; PointConfigXML reader = new PointConfigXML(); TableConfig tc = reader.readConfigXMLfromResource(xml, wantFeatureType, ds, errlog); for (TableConfig inner : tc.children.get(0).children) makeMultidimInner(ds, tc, inner, inner.outerName, inner.innerName); return tc; }
public TableConfig getConfig(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws IOException { String title = ds.findAttValueIgnoreCase(null, "title", null); if (title == null) title = ds.findAttValueIgnoreCase(null, "DD_reference", null); assert (title != null); boolean isRass = title.startsWith("RASS data"); String xml = isRass ? "resources/nj22/pointConfig/FslRassProfiler.xml" : "resources/nj22/pointConfig/FslWindProfiler.xml"; PointConfigXML reader = new PointConfigXML(); TableConfig tc = reader.readConfigXMLfromResource(xml, wantFeatureType, ds, errlog); for (TableConfig inner : tc.children.get(0).children) makeMultidimInner(ds, tc, inner, inner.outerName, inner.innerName); return tc; }