ucar.nc2.ft.point
Class StationTimeSeriesCollectionFlattened

java.lang.Object
  extended by ucar.nc2.ft.point.PointCollectionImpl
      extended by ucar.nc2.ft.point.StationTimeSeriesCollectionFlattened
All Implemented Interfaces:
FeatureCollection, PointFeatureCollection

public class StationTimeSeriesCollectionFlattened
extends PointCollectionImpl

A flattened StationTimeSeriesCollection.

Since:
Aug 27, 2009
Author:
caron

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.ft.point.PointCollectionImpl
PointCollectionImpl.PointCollectionSubset
 
Field Summary
protected  StationTimeSeriesCollectionImpl from
           
 
Fields inherited from class ucar.nc2.ft.point.PointCollectionImpl
boundingBox, dateRange, localIterator, name, npts
 
Constructor Summary
StationTimeSeriesCollectionFlattened(StationTimeSeriesCollectionImpl from, DateRange dateRange)
           
 
Method Summary
 PointFeatureIterator getPointFeatureIterator(int bufferSize)
          Get an iterator over the PointFeatures of this collection.
 PointFeatureCollection subset(LatLonRect boundingBox, DateRange dateRange)
          Subset this collection by boundingBox and/or dateRange
 
Methods inherited from class ucar.nc2.ft.point.PointCollectionImpl
calcBounds, finish, getBoundingBox, getCollectionFeatureType, getDateRange, getName, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

from

protected StationTimeSeriesCollectionImpl from
Constructor Detail

StationTimeSeriesCollectionFlattened

public StationTimeSeriesCollectionFlattened(StationTimeSeriesCollectionImpl from,
                                            DateRange dateRange)
Method Detail

getPointFeatureIterator

public PointFeatureIterator getPointFeatureIterator(int bufferSize)
                                             throws IOException
Description copied from interface: PointFeatureCollection
Get an iterator over the PointFeatures of this collection. call PointFeatureIterator.finish() when done

Parameters:
bufferSize - how many bytes can be used to buffer data, use -1 to use default.
Returns:
iterator over the PointFeatures of this collection
Throws:
IOException - on read error

subset

public PointFeatureCollection subset(LatLonRect boundingBox,
                                     DateRange dateRange)
                              throws IOException
Description copied from interface: PointFeatureCollection
Subset this collection by boundingBox and/or dateRange

Specified by:
subset in interface PointFeatureCollection
Overrides:
subset in class PointCollectionImpl
Parameters:
boundingBox - only points in this lat/lon bounding box. may be null.
dateRange - only points in this date range. may be null.
Returns:
subsetted collection, may be null if empty
Throws:
IOException - on read error


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.