public abstract class MultipleNestedPointCollectionImpl extends Object implements NestedPointFeatureCollection
| Modifier and Type | Field and Description |
|---|---|
protected String |
altUnits |
protected FeatureType |
collectionFeatureType |
protected List<Variable> |
extras |
protected String |
name |
protected int |
npts |
protected DateUnit |
timeUnit |
| Modifier | Constructor and Description |
|---|---|
protected |
MultipleNestedPointCollectionImpl(String name,
DateUnit timeUnit,
String altUnits,
FeatureType collectionFeatureType) |
| Modifier and Type | Method and Description |
|---|---|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
CalendarDateRange dateRange)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
DateRange dateRange) |
String |
getAltUnits()
The altitude unit string if it exists.
|
FeatureType |
getCollectionFeatureType()
All features in this collection have this feature type
|
List<Variable> |
getExtraVariables()
Other variables needed for co,pleteness, eg joined coordinate variables
|
String |
getName()
Get the name of this feature collection.
|
PointFeatureCollectionIterator |
getPointFeatureCollectionIterator(int bufferSize)
Iterate through the collection, composed of PointFeatureCollection.
|
DateUnit |
getTimeUnit()
The udunit time unit string.
|
boolean |
isMultipleNested()
If true, use getNestedPointFeatureCollectionIterator, otherwise use getPointFeatureCollectionIterator.
|
protected void |
setSize(int npts) |
int |
size()
The number of elements in the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNestedPointFeatureCollectionIterator, subsetprotected String name
protected DateUnit timeUnit
protected String altUnits
protected FeatureType collectionFeatureType
protected int npts
protected MultipleNestedPointCollectionImpl(String name, DateUnit timeUnit, String altUnits, FeatureType collectionFeatureType)
public String getName()
FeatureCollectiongetName in interface FeatureCollectionpublic DateUnit getTimeUnit()
NestedPointFeatureCollectiongetTimeUnit in interface NestedPointFeatureCollectionpublic String getAltUnits()
NestedPointFeatureCollectiongetAltUnits in interface NestedPointFeatureCollectionpublic List<Variable> getExtraVariables()
NestedPointFeatureCollectiongetExtraVariables in interface NestedPointFeatureCollectionpublic int size()
NestedPointFeatureCollectionsize in interface NestedPointFeatureCollectionprotected void setSize(int npts)
public boolean isMultipleNested()
NestedPointFeatureCollectionisMultipleNested in interface NestedPointFeatureCollectionpublic FeatureType getCollectionFeatureType()
FeatureCollectiongetCollectionFeatureType in interface FeatureCollectionpublic PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws IOException
NestedPointFeatureCollectiongetPointFeatureCollectionIterator in interface NestedPointFeatureCollectionbufferSize - how many bytes can be used to buffer data, use -1 to use default.IOException - on read errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
NestedPointFeatureCollectionflatten in interface NestedPointFeatureCollectionboundingBox - only points in this lat/lon bounding box. may be null.dateRange - only points in this date range. may be null.IOException - on read errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, DateRange dateRange) throws IOException
flatten in interface NestedPointFeatureCollectionIOExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.