public abstract class DsgSubsetWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ucar.nc2.ft.FeatureDatasetPoint |
fdPoint |
protected ucar.nc2.ft2.coverage.SubsetParams |
ncssParams |
protected ucar.nc2.time.CalendarDateRange |
wantedRange |
protected List<ucar.nc2.VariableSimpleIF> |
wantedVariables |
| Constructor and Description |
|---|
DsgSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
ucar.nc2.ft2.coverage.SubsetParams ncssParams) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.springframework.http.HttpHeaders |
getHttpHeaders(String datasetPath,
boolean isStream) |
static ucar.nc2.time.CalendarDateRange |
getWantedDateRange(ucar.nc2.ft2.coverage.SubsetParams ncssParams) |
static List<ucar.nc2.VariableSimpleIF> |
getWantedVariables(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
ucar.nc2.ft2.coverage.SubsetParams ncssParams) |
void |
respond(javax.servlet.http.HttpServletResponse res,
ucar.nc2.ft.FeatureDataset ft,
String requestPathInfo,
ucar.nc2.ft2.coverage.SubsetParams queryParams,
SupportedFormat format) |
abstract void |
write() |
protected final ucar.nc2.ft.FeatureDatasetPoint fdPoint
protected final ucar.nc2.ft2.coverage.SubsetParams ncssParams
protected final List<ucar.nc2.VariableSimpleIF> wantedVariables
protected final ucar.nc2.time.CalendarDateRange wantedRange
public DsgSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
ucar.nc2.ft2.coverage.SubsetParams ncssParams)
throws NcssException
NcssExceptionpublic abstract org.springframework.http.HttpHeaders getHttpHeaders(String datasetPath, boolean isStream)
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
Exceptionpublic static List<ucar.nc2.VariableSimpleIF> getWantedVariables(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws VariableNotContainedInDatasetException
public static ucar.nc2.time.CalendarDateRange getWantedDateRange(ucar.nc2.ft2.coverage.SubsetParams ncssParams)
throws NcssException
NcssException