Class AbstractStationProfileSubsetWriter
java.lang.Object
thredds.server.ncss.view.dsg.DsgSubsetWriter
thredds.server.ncss.view.dsg.station.AbstractStationProfileSubsetWriter
- Direct Known Subclasses:
StationProfileSubsetWriterCSV,StationProfileSubsetWriterNetcdf,StationProfileSubsetWriterXML
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final ucar.nc2.ft.StationProfileFeatureCollectionprotected final List<ucar.nc2.ft.point.StationFeature>Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables -
Constructor Summary
ConstructorsConstructorDescriptionAbstractStationProfileSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) AbstractStationProfileSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, int collectionIndex) -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite()protected abstract voidprotected abstract voidwriteHeader(ucar.nc2.ft.StationProfileFeature stn) protected voidwriteProfileFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.ProfileFeature profileFeat) protected abstract voidwriteStationPointFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.point.StationPointFeature stationPointFeat) protected intwriteStationProfileTimeSeriesFeature(ucar.nc2.ft.StationProfileFeature stationProfileFeat) Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getHttpHeaders, getWantedDateRange, getWantedVariables, respond
-
Field Details
-
stationFeatureCollection
protected final ucar.nc2.ft.StationProfileFeatureCollection stationFeatureCollection -
wantedStations
-
headerDone
protected boolean headerDone
-
-
Constructor Details
-
AbstractStationProfileSubsetWriter
public AbstractStationProfileSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws NcssException, IOException - Throws:
NcssExceptionIOException
-
AbstractStationProfileSubsetWriter
public AbstractStationProfileSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, int collectionIndex) throws NcssException, IOException - Throws:
NcssExceptionIOException
-
-
Method Details
-
writeHeader
- Throws:
Exception
-
writeProfileFeature
protected void writeProfileFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.ProfileFeature profileFeat) throws Exception - Throws:
Exception
-
writeStationPointFeature
protected abstract void writeStationPointFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.point.StationPointFeature stationPointFeat) throws Exception - Throws:
Exception
-
write
- Specified by:
writein classDsgSubsetWriter- Throws:
Exception
-
writeStationProfileTimeSeriesFeature
protected int writeStationProfileTimeSeriesFeature(ucar.nc2.ft.StationProfileFeature stationProfileFeat) throws Exception - Throws:
Exception
-