Class StationProfileSubsetWriterNetcdf
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.station.AbstractStationProfileSubsetWriter
-
- thredds.server.ncss.view.dsg.station.StationProfileSubsetWriterNetcdf
-
public class StationProfileSubsetWriterNetcdf extends AbstractStationProfileSubsetWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class thredds.server.ncss.view.dsg.station.AbstractStationProfileSubsetWriter
AbstractStationProfileSubsetWriter.ClosestTimeStationProfileFeatureSubset
-
-
Field Summary
-
Fields inherited from class thredds.server.ncss.view.dsg.station.AbstractStationProfileSubsetWriter
headerDone, stationFeatureCollection, wantedStations
-
Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables
-
-
Constructor Summary
Constructors Constructor Description StationProfileSubsetWriterNetcdf(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.StationProfileFeature stn)protected voidwriteProfileFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.ProfileFeature profileFeat)protected voidwriteStationPointFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.point.StationPointFeature stationPointFeat)-
Methods inherited from class thredds.server.ncss.view.dsg.station.AbstractStationProfileSubsetWriter
write, writeStationProfileTimeSeriesFeature
-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getWantedDateRange, getWantedVariables, respond
-
-
-
-
Constructor Detail
-
StationProfileSubsetWriterNetcdf
public StationProfileSubsetWriterNetcdf(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.StationProfileFeature stn) throws Exception- Specified by:
writeHeaderin classAbstractStationProfileSubsetWriter- Throws:
Exception
-
writeProfileFeature
protected void writeProfileFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.ProfileFeature profileFeat) throws Exception- Overrides:
writeProfileFeaturein classAbstractStationProfileSubsetWriter- Throws:
Exception
-
writeStationPointFeature
protected void writeStationPointFeature(ucar.nc2.ft.StationProfileFeature stn, ucar.nc2.ft.point.StationPointFeature stationPointFeat)- Specified by:
writeStationPointFeaturein classAbstractStationProfileSubsetWriter
-
writeFooter
protected void writeFooter() throws Exception- Specified by:
writeFooterin classAbstractStationProfileSubsetWriter- Throws:
Exception
-
-