public class CompositePointCollection extends PointCollectionImpl implements UpdateableCollection
PointCollectionImpl.PointCollectionSubset
Modifier and Type | Field and Description |
---|---|
protected java.util.List<VariableSimpleIF> |
dataVariables |
protected java.util.List<Attribute> |
globalAttributes |
altUnits, boundingBox, dateRange, extras, localIterator, name, npts, timeUnit
Modifier | Constructor and Description |
---|---|
protected |
CompositePointCollection(java.lang.String name,
DateUnit timeUnit,
java.lang.String altUnits,
TimedCollection pointCollections) |
Modifier and Type | Method and Description |
---|---|
java.util.List<VariableSimpleIF> |
getDataVariables() |
java.util.List<Attribute> |
getGlobalAttributes() |
PointFeatureIterator |
getPointFeatureIterator(int bufferSize)
Get an iterator over the PointFeatures of this collection.
|
PointFeatureCollection |
subset(LatLonRect boundingBox,
CalendarDateRange dateRange)
Subset this collection by boundingBox and/or dateRange
|
CalendarDateRange |
update() |
calcBounds, finish, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getDateRange, getExtraVariables, getName, getNobs, getTimeUnit, hasNext, next, resetIteration, setBoundingBox, setCalendarDateRange, setDateRange, setSize, size, subset
protected java.util.List<VariableSimpleIF> dataVariables
protected java.util.List<Attribute> globalAttributes
protected CompositePointCollection(java.lang.String name, DateUnit timeUnit, java.lang.String altUnits, TimedCollection pointCollections) throws java.io.IOException
java.io.IOException
public java.util.List<VariableSimpleIF> getDataVariables()
public java.util.List<Attribute> getGlobalAttributes()
public PointFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws java.io.IOException
PointFeatureCollection
subset
in interface PointFeatureCollection
subset
in class PointCollectionImpl
boundingBox
- only points in this lat/lon bounding box. may be null.dateRange
- only points in this date range. may be null.java.io.IOException
- on read errorpublic PointFeatureIterator getPointFeatureIterator(int bufferSize) throws java.io.IOException
PointFeatureCollection
getPointFeatureIterator
in interface PointFeatureCollection
bufferSize
- how many bytes can be used to buffer data, use -1 to use default.java.io.IOException
- on read errorpublic CalendarDateRange update() throws java.io.IOException
update
in interface UpdateableCollection
java.io.IOException