Package thredds.server.ncss.view.dsg
Class DsgSubsetWriter
java.lang.Object
thredds.server.ncss.view.dsg.DsgSubsetWriter
- Direct Known Subclasses:
AbstractMixedFeatureTypeSubsetWriter,AbstractPointSubsetWriter,AbstractStationProfileSubsetWriter,AbstractStationSubsetWriter
Created by cwardgar on 2014/05/20.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ucar.nc2.ft.FeatureDatasetPointprotected final ucar.nc2.ft2.coverage.SubsetParamsprotected final ucar.nc2.time.CalendarDateRangeprotected final List<ucar.nc2.VariableSimpleIF> -
Constructor Summary
ConstructorsConstructorDescriptionDsgSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) -
Method Summary
Modifier and TypeMethodDescriptionabstract 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(jakarta.servlet.http.HttpServletResponse res, ucar.nc2.ft.FeatureDataset ft, String requestPathInfo, ucar.nc2.ft2.coverage.SubsetParams queryParams, SupportedFormat format) abstract voidwrite()
-
Field Details
-
fdPoint
protected final ucar.nc2.ft.FeatureDatasetPoint fdPoint -
ncssParams
protected final ucar.nc2.ft2.coverage.SubsetParams ncssParams -
wantedVariables
-
wantedRange
protected final ucar.nc2.time.CalendarDateRange wantedRange
-
-
Constructor Details
-
DsgSubsetWriter
public DsgSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws NcssException - Throws:
NcssException
-
-
Method Details
-
getHttpHeaders
public abstract org.springframework.http.HttpHeaders getHttpHeaders(String datasetPath, boolean isStream) -
write
- Throws:
Exception
-
respond
public void respond(jakarta.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
-