Package noaa.coastwatch.render.feature
Class ColocatedPointFeatureSource
java.lang.Object
noaa.coastwatch.render.feature.AbstractFeatureSource
noaa.coastwatch.render.feature.PointFeatureSource
noaa.coastwatch.render.feature.ColocatedPointFeatureSource
- All Implemented Interfaces:
Iterable<Feature>
,FeatureSource
The
ColocatedPointFeatureSource
class combines the point
features from a source with colocated values from a set of grids. For
example if each point feature in the source has attributes named:
- observation_time
- windspeed
- observation_time
- windspeed
- GRID_sst
- GRID_cloud
- Since:
- 3.3.2
- Author:
- Peter Hollemans
-
Field Summary
Modifier and TypeFieldDescriptionThe mapping form primitive to wrapper class.Fields inherited from class noaa.coastwatch.render.feature.AbstractFeatureSource
area, featureList
-
Constructor Summary
ConstructorDescriptionColocatedPointFeatureSource
(PointFeatureSource source, EarthTransform trans, List<Grid> gridList) Creates a new colocated source using the specified source and grids. -
Method Summary
Methods inherited from class noaa.coastwatch.render.feature.PointFeatureSource
render, render
Methods inherited from class noaa.coastwatch.render.feature.AbstractFeatureSource
getArea, getAttributeCount, getAttributeNameMap, getAttributes, getFilter, iterator, select, setAttributes, setFilter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
primitiveToWrapperMap
The mapping form primitive to wrapper class.
-
-
Constructor Details
-
ColocatedPointFeatureSource
public ColocatedPointFeatureSource(PointFeatureSource source, EarthTransform trans, List<Grid> gridList) Creates a new colocated source using the specified source and grids.- Parameters:
source
- the point source to supply point feature data.trans
- the earth transform for the grid data.gridList
- the list of grids to append data values to the point feature attributes.
-
-
Method Details
-
select
Description copied from class:AbstractFeatureSource
Selects a set of features from the data source based on the current area.- Specified by:
select
in classAbstractFeatureSource
- Throws:
IOException
- if an error occurred accessing the data source.
-
main
Tests this class.- Parameters:
argv
- the array of command line parameters.- Throws:
Exception
-