public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator siter = ft.getLeafFeatureDataIterator( cursorIter, bufferSize); StandardPointFeatureIterator iter = new StandardPointFeatureIterator(ft, timeUnit, siter, cursorIter); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; } }
@Override protected boolean isMissing() throws IOException { if (super.isMissing()) return true; // must also check for missing z values return ft.isAltMissing(this.cursor); } }
StandardPointFeatureIterator(PointCollectionImpl dsg, NestedTable ft, CalendarDateUnit timeUnit, ucar.ma2.StructureDataIterator structIter, Cursor cursor) throws IOException { super(structIter, null); this.collectionDsg = dsg; this.ft = ft; this.timeUnit = timeUnit; this.cursor = cursor; CollectionInfo info = dsg.getInfo(); if (!info.isComplete()) setCalculateBounds(info); }
@Override public PointFeatureIterator getPointFeatureIterator() throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator siter = ft.getLeafFeatureDataIterator(cursorIter); return new StandardPointFeatureIterator(this, ft, timeUnit, siter, cursorIter); }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator structIter = ft.getLeafFeatureDataIterator(cursorIter, bufferSize); StandardPointFeatureIterator iter = new StandardProfileFeatureIterator(ft, timeUnit, structIter, cursorIter); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
@Override public PointFeatureIterator getPointFeatureIterator() throws IOException { // only one Cursor object needed - it will be used for each iteration with different structData's Cursor tableData = new Cursor(ft.getNumberOfLevels()); return new StandardPointFeatureIterator(this, ft, timeUnit, ft.getObsDataIterator(tableData), tableData); }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator siter = ft.getLeafFeatureDataIterator( cursorIter, bufferSize); StandardPointFeatureIterator iter = new StandardPointFeatureIterator(ft, timeUnit, siter, cursorIter); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
@Override protected boolean isMissing() throws IOException { if (super.isMissing()) return true; // must also check for missing z values return ft.isAltMissing(this.cursor); } }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator structIter = ft.getLeafFeatureDataIterator(cursorIter, bufferSize); StandardPointFeatureIterator iter = new StandardProfileFeatureIterator(ft, timeUnit, structIter, cursorIter); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
@Override public PointFeatureIterator getPointFeatureIterator() throws IOException { Cursor cursor = new Cursor(ft.getNumberOfLevels()); cursor.recnum[1] = recnum; cursor.tableData[1] = stationData; cursor.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins StructureDataIterator obsIter = ft.getLeafFeatureDataIterator(cursor); return new StandardPointFeatureIterator(this, ft, timeUnit, obsIter, cursor); }
@Override public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursor = new Cursor(ft.getNumberOfLevels()); cursor.recnum[1] = recnum; cursor.tableData[1] = stationData; cursor.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins StructureDataIterator obsIter = ft.getLeafFeatureDataIterator(cursor, bufferSize); StandardPointFeatureIterator iter = new StandardPointFeatureIterator(ft, timeUnit, obsIter, cursor); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
@Override protected boolean isMissing() throws IOException { if (super.isMissing()) return true; // must also check for missing z values return ft.isAltMissing(this.cursor); } }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator siter = ft.getLeafFeatureDataIterator( cursorIter, bufferSize); StandardPointFeatureIterator iter = new StandardProfileFeatureIterator(ft, timeUnit, siter, cursorIter); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // only one Cursor object needed - it will be used for each iteration with different structData's Cursor tableData = new Cursor(ft.getNumberOfLevels()); PointFeatureIterator iter = new StandardPointFeatureIterator( ft, timeUnit, ft.getObsDataIterator(tableData, bufferSize), tableData); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursor = new Cursor(ft.getNumberOfLevels()); cursor.recnum[1] = recnum; cursor.tableData[1] = stationData; cursor.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins StructureDataIterator obsIter = ft.getLeafFeatureDataIterator(cursor, bufferSize); StandardPointFeatureIterator iter = new StandardPointFeatureIterator(ft, timeUnit, obsIter, cursor); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
@Override protected boolean isMissing() throws IOException { // standard filter is to check for missing time data if (super.isMissing()) return true; // must also check for missing z values return ft.isAltMissing(this.cursor); } }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator siter = ft.getLeafFeatureDataIterator(cursorIter, bufferSize); StandardPointFeatureIterator iter = new StandardSectionProfileFeatureIterator(ft, timeUnit, siter, cursorIter); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // only one Cursor object needed - it will be used for each iteration with different structData's Cursor tableData = new Cursor(ft.getNumberOfLevels()); PointFeatureIterator iter = new StandardPointFeatureIterator( ft, timeUnit, ft.getObsDataIterator(tableData, bufferSize), tableData); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }
@Override protected boolean isMissing() throws IOException { // standard filter is to check for missing time data if (super.isMissing()) return true; // must also check for missing z values return ft.isAltMissing(this.cursor); } }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { Cursor cursorIter = cursor.copy(); StructureDataIterator siter = ft.getLeafFeatureDataIterator(cursorIter, bufferSize); StandardPointFeatureIterator iter = new StandardSectionProfileFeatureIterator(ft, timeUnit, siter, cursorIter); if ((boundingBox == null) || (dateRange == null) || (npts < 0)) iter.setCalculateBounds(this); return iter; }