Package thredds.server.ncss.view.dsg
Class DsgSubsetWriter
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- Direct Known Subclasses:
AbstractPointSubsetWriter,AbstractStationSubsetWriter
public abstract class DsgSubsetWriter extends Object
Created by cwardgar on 2014/05/20.
-
-
Field Summary
Fields Modifier and Type Field Description protected ucar.nc2.ft.FeatureDatasetPointfdPointprotected ucar.nc2.ft2.coverage.SubsetParamsncssParamsprotected ucar.nc2.time.CalendarDateRangewantedRangeprotected List<ucar.nc2.VariableSimpleIF>wantedVariables
-
Constructor Summary
Constructors Constructor Description DsgSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.springframework.http.HttpHeadersgetHttpHeaders(String datasetPath, boolean isStream)static ucar.nc2.time.CalendarDateRangegetWantedDateRange(ucar.nc2.ft2.coverage.SubsetParams ncssParams)static List<ucar.nc2.VariableSimpleIF>getWantedVariables(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams)voidrespond(javax.servlet.http.HttpServletResponse res, ucar.nc2.ft.FeatureDataset ft, String requestPathInfo, ucar.nc2.ft2.coverage.SubsetParams queryParams, SupportedFormat format)abstract voidwrite()
-
-
-
Field Detail
-
fdPoint
protected final ucar.nc2.ft.FeatureDatasetPoint fdPoint
-
ncssParams
protected final ucar.nc2.ft2.coverage.SubsetParams ncssParams
-
wantedVariables
protected final List<ucar.nc2.VariableSimpleIF> wantedVariables
-
wantedRange
protected final ucar.nc2.time.CalendarDateRange wantedRange
-
-
Constructor Detail
-
DsgSubsetWriter
public DsgSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws NcssException- Throws:
NcssException
-
-
Method Detail
-
getHttpHeaders
public abstract org.springframework.http.HttpHeaders getHttpHeaders(String datasetPath, boolean isStream)
-
respond
public void respond(javax.servlet.http.HttpServletResponse res, ucar.nc2.ft.FeatureDataset ft, String requestPathInfo, ucar.nc2.ft2.coverage.SubsetParams queryParams, SupportedFormat format) throws Exception- Throws:
Exception
-
getWantedVariables
public static List<ucar.nc2.VariableSimpleIF> getWantedVariables(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws VariableNotContainedInDatasetException
-
getWantedDateRange
public static ucar.nc2.time.CalendarDateRange getWantedDateRange(ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws NcssException- Throws:
NcssException
-
-