Class PointSubsetWriterNetcdf
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
-
- thredds.server.ncss.view.dsg.point.PointSubsetWriterNetcdf
-
public class PointSubsetWriterNetcdf extends AbstractPointSubsetWriter
Created by cwardgar on 2014/06/04.
-
-
Field Summary
-
Fields inherited from class thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
pointFeatureCollection
-
Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables
-
-
Constructor Summary
Constructors Constructor Description PointSubsetWriterNetcdf(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)voidwriteFooter()voidwriteHeader(ucar.nc2.ft.PointFeature pf)voidwritePoint(ucar.nc2.ft.PointFeature pointFeat)-
Methods inherited from class thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
write
-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getWantedDateRange, getWantedVariables, respond
-
-
-
-
Constructor Detail
-
PointSubsetWriterNetcdf
public PointSubsetWriterNetcdf(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
public void writeHeader(ucar.nc2.ft.PointFeature pf) throws IOException- Specified by:
writeHeaderin classAbstractPointSubsetWriter- Throws:
IOException
-
writePoint
public void writePoint(ucar.nc2.ft.PointFeature pointFeat) throws Exception- Specified by:
writePointin classAbstractPointSubsetWriter- Throws:
Exception
-
writeFooter
public void writeFooter() throws IOException- Specified by:
writeFooterin classAbstractPointSubsetWriter- Throws:
IOException
-
-