public PointFeatureCollection next() throws IOException { count++; return new StandardProfileFeature(s, ft.getObsTime(cursor), cursor.copy()); }
@Override public PointFeatureCollection next() throws IOException { count++; PointFeatureCollection result = new StandardProfileFeature(station, getTimeUnit(), getAltUnits(), ft.getObsTime(cursor), cursor.copy(), profileData); prev = (DsgCollectionImpl) result; return result; }
@Override protected PointFeature makeFeature(int recnum, StructureData sdata) throws IOException { cursor.recnum[0] = recnum; cursor.tableData[0] = sdata; // always in the first position cursor.currentIndex = 0; ft.addParentJoin(cursor); // there may be parent joins if (isMissing()) return null; // missing data double obsTime = ft.getObsTime( this.cursor); // must send a copy, since sdata is changing each time, and StandardPointFeature may be stored return new StandardPointFeature(cursor.copy(), timeUnit, obsTime); }
protected PointFeature makeFeature(int recnum, StructureData sdata) throws IOException { cursor.recnum[0] = recnum; cursor.tableData[0] = sdata; // always in the first position cursor.currentIndex = 0; ft.addParentJoin(cursor); // there may be parent joins if (isMissing()) return null; // missing data double obsTime = ft.getObsTime( this.cursor); // must send a copy, since sdata is changing each time, and StandardPointFeature may be stored return new StandardPointFeature(cursor.copy(), timeUnit, obsTime); }
protected PointFeature makeFeature(int recnum, StructureData sdata) throws IOException { cursor.recnum[0] = recnum; cursor.tableData[0] = sdata; // always in the first position cursor.currentIndex = 0; ft.addParentJoin(cursor); // there may be parent joins if (isMissing()) return null; // missing data double obsTime = ft.getObsTime( this.cursor); // must send a copy, since sdata is changing each time, and StandardPointFeature may be stored return new StandardPointFeature(cursor.copy(), timeUnit, obsTime); }
public PointFeatureCollection next() throws IOException { count++; return new StandardProfileFeature(s, getTimeUnit(), getAltUnits(), ft.getObsTime(cursor), cursor.copy(), profileData); }
public ProfileFeature next() throws IOException { Cursor cursor = new Cursor(ft.getNumberOfLevels()); cursor.tableData[1] = nextProfileData; cursor.recnum[1] = structIter.getCurrentRecno(); cursor.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins return new StandardProfileFeature(cursor, ft.getObsTime(cursor), nextProfileData); }
@Override public ProfileFeature next() throws IOException { Cursor cursor = new Cursor(ft.getNumberOfLevels()); cursor.tableData[1] = nextProfileData; cursor.recnum[1] = structIter.getCurrentRecno(); cursor.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins prev = new StandardProfileFeature(cursor, ft.getObsTime(cursor), nextProfileData); return prev; }
public PointFeatureCollection next() throws IOException { Cursor cursorIter = cursor.copy(); profileData = iter.next(); cursorIter.tableData[1] = profileData; cursorIter.recnum[1] = iter.getCurrentRecno(); cursorIter.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins // double time = ft.getObsTime(cursorIter); return new StandardSectionProfileFeature(cursorIter, ft.getObsTime(cursor), profileData); }
public ProfileFeature next() throws IOException { Cursor cursor = new Cursor(ft.getNumberOfLevels()); cursor.tableData[1] = nextProfileData; cursor.recnum[1] = structIter.getCurrentRecno(); cursor.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins return new StandardProfileFeature(cursor, ft.getObsTime(cursor)); }
public PointFeatureCollection next() throws IOException { Cursor cursorIter = cursor.copy(); cursorIter.tableData[1] = iter.next(); cursorIter.recnum[1] = iter.getCurrentRecno(); cursorIter.currentIndex = 1; ft.addParentJoin(cursor); // there may be parent joins // double time = ft.getObsTime(cursorIter); return new StandardSectionProfileFeature(cursorIter, ft.getObsTime(cursor)); }
@Override public PointFeatureCollection next() throws IOException { Cursor cursorIter = cursor.copy(); profileData = sdataIter.next(); cursorIter.tableData[1] = profileData; cursorIter.recnum[1] = sdataIter.getCurrentRecno(); cursorIter.currentIndex = 1; ft.addParentJoin(cursorIter); // there may be parent joins LOOK cursor or cursorIter ? // double time = ft.getObsTime(cursorIter); PointFeatureCollection result = new StandardSectionProfileFeature(cursorIter, ft.getObsTime(cursor), profileData); prev = (DsgCollectionImpl) result; // common for Station and StationProfile return result; }