@Override public Structure select(List<String> memberNames) { StructurePseudoDS result = new StructurePseudoDS((NetcdfDataset) ncfile, getParentGroup(), getShortName(), memberNames, getDimension(0)); result.isSubset = true; return result; }
@Override public Structure select(List<String> memberNames) { StructurePseudoDS result = new StructurePseudoDS((NetcdfDataset) ncfile, getParentGroup(), getShortName(), memberNames, getDimension(0)); result.isSubset = true; return result; }
@Override public Structure select(List<String> memberNames) { StructurePseudoDS result = new StructurePseudoDS((NetcdfDataset) ncfile, getParentGroup(), getShortName(), memberNames, getDimension(0)); result.isSubset = true; return result; }
assert dim != null; String name = config.structName == null ? "anon" : config.structName; struct = new StructurePseudoDS(ds, dim.getGroup(), name, config.vars, this.dim); break;
assert dim != null; String name = config.structName == null ? "anon" : config.structName; struct = new StructurePseudoDS(ds, dim.getGroup(), name, config.vars, this.dim); break;
assert dim != null; String name = config.structName == null ? "anon" : config.structName; struct = new StructurePseudoDS(ds, dim.getGroup(), name, config.vars, this.dim); break;
"> has no unlimited dimension, specify psuedo record dimension with observationDimension global attribute."); this.obsDim = this.ncfile.getRootGroup().findDimension(recDimName); this.recordVar = new StructurePseudoDS(this.ncfile, null, "record", null, obsDim);
"> has no unlimited dimension, specify psuedo record dimension with observationDimension global attribute."); this.obsDim = this.ncfile.getRootGroup().findDimension(recDimName); this.recordVar = new StructurePseudoDS(this.ncfile, null, "record", null, obsDim);
"> has no unlimited dimension, specify psuedo record dimension with observationDimension global attribute."); this.obsDim = this.ncfile.getRootGroup().findDimension(recDimName); this.recordVar = new StructurePseudoDS(this.ncfile, null, "record", null, obsDim);
StructureDS s = new StructurePseudoDS(ds, null, "stnStruct", vars, stationDim); obs.addJoin(new JoinMuiltdimStructure(s, obsDim.getLength())); obs.addJoin(new JoinArray( time, JoinArray.Type.modulo, obsDim.getLength()));
StructureDS s = new StructurePseudoDS(ds, null, "stnStruct", vars, stationDim); obs.addJoin(new JoinMuiltdimStructure(s, obsDim.getLength())); obs.addJoin(new JoinArray( time, JoinArray.Type.modulo, obsDim.getLength()));
StructureDS s = new StructurePseudoDS(ds, null, "stnStruct", vars, stationDim); obs.addJoin(new JoinMuiltdimStructure(s, obsDim.getLength())); obs.addJoin(new JoinArray( time, JoinArray.Type.modulo, obsDim.getLength()));
public void testMA() throws IOException, InvalidRangeException { NetcdfFile ncfile = TestDir.openFileLocal("jan.nc"); NetcdfDataset ncd = new NetcdfDataset( ncfile); Dimension dim = ncd.findDimension("time"); assert dim != null; Structure p = new ucar.nc2.dataset.StructurePseudoDS( ncd, null, "Psuedo", null, dim); assert( p.getDataType() == DataType.STRUCTURE); Array data = p.read(); assert( data instanceof ArrayStructure); assert( data instanceof ArrayStructureMA); assert(data.getElementType() == StructureData.class); test.testArrayStructure( (ArrayStructure) data); ncfile.close(); }
obsTable.elev = UnidataPointDatasetHelper.getCoordinateName(ds, AxisType.Height, stationDim); StructureDS stns = new StructurePseudoDS(ds, null, "stationPsuedoStructure", null, stationDim); obsTable.addJoin( new JoinParentIndex(stns, parentIndexVar));
obsTable.elev = UnidataPointDatasetHelper.getCoordinateName(ds, AxisType.Height, stationDim); StructureDS stns = new StructurePseudoDS(ds, null, "stationPsuedoStructure", null, stationDim); obsTable.addJoin( new JoinParentIndex(stns, parentIndexVar));
obsTable.elev = UnidataPointDatasetHelper.getCoordinateName(ds, AxisType.Height, stationDim); StructureDS stns = new StructurePseudoDS(ds, null, "stationPsuedoStructure", null, stationDim); obsTable.addJoin( new JoinParentIndex(stns, parentIndexVar));