public abstract class AbstractStationSubsetWriter extends AbstractDsgSubsetWriter
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractStationSubsetWriter.ClosestTimeStationFeatureSubset |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
headerDone |
protected ucar.nc2.ft.StationTimeSeriesFeatureCollection |
stationFeatureCollection |
protected java.util.List<ucar.nc2.ft.point.StationFeature> |
wantedStations |
fdPoint, ncssParams, wantedRange, wantedVariables| Constructor and Description |
|---|
AbstractStationSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
NcssParamsBean ncssParams) |
| Modifier and Type | Method and Description |
|---|---|
static ucar.unidata.geoloc.Station |
findClosestStation(ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatCol,
ucar.unidata.geoloc.LatLonPoint pt) |
static java.util.List<ucar.nc2.ft.point.StationFeature> |
getStationsInSubset(ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatCol,
NcssParamsBean ncssParams) |
void |
write() |
protected abstract void |
writeFooter() |
protected abstract void |
writeHeader(ucar.nc2.ft.point.StationPointFeature stationPointFeat) |
protected abstract void |
writeStationPointFeature(ucar.nc2.ft.point.StationPointFeature stationPointFeat) |
protected void |
writeStationTimeSeriesFeature(ucar.nc2.ft.StationTimeSeriesFeature stationFeat) |
getResponseHeaders, getWantedRange, getWantedVariables, respondclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHttpHeadersprotected final ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatureCollection
protected final java.util.List<ucar.nc2.ft.point.StationFeature> wantedStations
protected boolean headerDone
public AbstractStationSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
NcssParamsBean ncssParams)
throws NcssException,
java.io.IOException
NcssExceptionjava.io.IOExceptionprotected abstract void writeHeader(ucar.nc2.ft.point.StationPointFeature stationPointFeat)
throws java.lang.Exception
java.lang.Exceptionprotected abstract void writeStationPointFeature(ucar.nc2.ft.point.StationPointFeature stationPointFeat)
throws java.lang.Exception
java.lang.Exceptionprotected abstract void writeFooter()
throws java.lang.Exception
java.lang.Exceptionpublic void write()
throws java.lang.Exception
java.lang.Exceptionprotected void writeStationTimeSeriesFeature(ucar.nc2.ft.StationTimeSeriesFeature stationFeat)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List<ucar.nc2.ft.point.StationFeature> getStationsInSubset(ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatCol,
NcssParamsBean ncssParams)
throws java.io.IOException
java.io.IOExceptionpublic static ucar.unidata.geoloc.Station findClosestStation(ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatCol,
ucar.unidata.geoloc.LatLonPoint pt)
throws java.io.IOException
java.io.IOException