Class StationSubsetWriterNetcdf
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
-
- thredds.server.ncss.view.dsg.station.StationSubsetWriterNetcdf
-
public class StationSubsetWriterNetcdf extends AbstractStationSubsetWriter
Created by cwardgar on 2014/05/29.
-
-
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 StationSubsetWriterNetcdf(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, NcssDiskCache ncssDiskCache, OutputStream out, ucar.nc2.NetcdfFileWriter.Version version)
-
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)-
Methods inherited from class thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
write, writeStationTimeSeriesFeature
-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getWantedDateRange, getWantedVariables, respond
-
-
-
-
Constructor Detail
-
StationSubsetWriterNetcdf
public StationSubsetWriterNetcdf(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, NcssDiskCache ncssDiskCache, OutputStream out, ucar.nc2.NetcdfFileWriter.Version version) 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
-
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
-
-