Class StationSubsetWriterWaterML
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
-
- thredds.server.ncss.view.dsg.station.StationSubsetWriterWaterML
-
public class StationSubsetWriterWaterML extends AbstractStationSubsetWriter
Created by cwardgar on 2014/06/04.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
AbstractStationSubsetWriter.ClosestTimeStationFeatureSubset
-
-
Field Summary
-
Fields inherited from class thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
headerDone, stationFeatureCollection, wantedStations
-
Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables
-
-
Constructor Summary
Constructors Constructor Description StationSubsetWriterWaterML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out)StationSubsetWriterWaterML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out, int collectionIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.HttpHeadersgetHttpHeaders(String datasetPath, boolean isStream)protected voidwriteFooter()protected voidwriteHeader(ucar.nc2.ft.point.StationPointFeature stationPointFeat)protected voidwriteStationPointFeature(ucar.nc2.ft.point.StationPointFeature stationPointFeat)protected intwriteStationTimeSeriesFeature(ucar.nc2.ft.StationTimeSeriesFeature stationFeat)-
Methods inherited from class thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
write
-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getWantedDateRange, getWantedVariables, respond
-
-
-
-
Constructor Detail
-
StationSubsetWriterWaterML
public StationSubsetWriterWaterML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out) throws NcssException, IOException- Throws:
NcssExceptionIOException
-
StationSubsetWriterWaterML
public StationSubsetWriterWaterML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out, int collectionIndex) throws NcssException, IOException- Throws:
NcssExceptionIOException
-
-
Method Detail
-
getHttpHeaders
public org.springframework.http.HttpHeaders getHttpHeaders(String datasetPath, boolean isStream)
- Specified by:
getHttpHeadersin classDsgSubsetWriter
-
writeHeader
protected void writeHeader(ucar.nc2.ft.point.StationPointFeature stationPointFeat) throws Exception- Specified by:
writeHeaderin classAbstractStationSubsetWriter- Throws:
Exception
-
writeStationTimeSeriesFeature
protected int writeStationTimeSeriesFeature(ucar.nc2.ft.StationTimeSeriesFeature stationFeat) throws Exception- Overrides:
writeStationTimeSeriesFeaturein classAbstractStationSubsetWriter- Throws:
Exception
-
writeStationPointFeature
protected void writeStationPointFeature(ucar.nc2.ft.point.StationPointFeature stationPointFeat) throws Exception- Specified by:
writeStationPointFeaturein classAbstractStationSubsetWriter- Throws:
Exception
-
writeFooter
protected void writeFooter() throws Exception- Specified by:
writeFooterin classAbstractStationSubsetWriter- Throws:
Exception
-
-