public class IQuamNCReader extends PointFeatureSource
http://www.star.nesdis.noaa.gov/sod/sst/iquam/v2/index.html
area, featureList
Constructor and Description |
---|
IQuamNCReader(java.lang.String filename)
Creates a new reader for an iQuam point data file.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<EarthDataOverlay> |
getStandardOverlays(java.util.Date date,
EarthTransform trans,
java.util.List<Grid> gridList)
Gets the standard set of iQuam point data overlays for this data source.
|
static void |
main(java.lang.String[] argv)
Tests this class.
|
void |
precache()
Performs a precaching read of all the point data in the file.
|
protected void |
select()
Selects a set of features from the data source based on the
current area.
|
render, render
getArea, getAttributeCount, getAttributeNameMap, getAttributes, getFilter, iterator, select, setAttributes, setFilter
public IQuamNCReader(java.lang.String filename) throws java.io.IOException
filename
- the name of the file.java.io.IOException
public void precache() throws java.io.IOException
java.io.IOException
protected void select() throws java.io.IOException
AbstractFeatureSource
select
in class AbstractFeatureSource
java.io.IOException
- if an error occurred accessing the data source.public java.util.List<EarthDataOverlay> getStandardOverlays(java.util.Date date, EarthTransform trans, java.util.List<Grid> gridList) throws java.io.IOException
date
- the date to use for the set of overlays. Point data in the
overlays will be filtered to fall within a certain time window centered
on the date.trans
- the earth transform for the grid data.gridList
- the list of grids to append data values to the point
feature attributes.java.io.IOException
- if an error occurred accessing the data file.public static void main(java.lang.String[] argv) throws java.lang.Exception
argv
- the array of command line parameters.java.lang.Exception