Class DsgSubsetWriter

java.lang.Object
thredds.server.ncss.view.dsg.DsgSubsetWriter
Direct Known Subclasses:
AbstractMixedFeatureTypeSubsetWriter, AbstractPointSubsetWriter, AbstractStationProfileSubsetWriter, AbstractStationSubsetWriter

public abstract class DsgSubsetWriter extends Object
Created by cwardgar on 2014/05/20.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final ucar.nc2.ft.FeatureDatasetPoint
     
    protected final ucar.nc2.ft2.coverage.SubsetParams
     
    protected final ucar.nc2.time.CalendarDateRange
     
    protected final List<ucar.nc2.VariableSimpleIF>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DsgSubsetWriter(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams)
     
  • Method Summary

    Modifier and Type
    Method
    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(jakarta.servlet.http.HttpServletResponse res, ucar.nc2.ft.FeatureDataset ft, String requestPathInfo, ucar.nc2.ft2.coverage.SubsetParams queryParams, SupportedFormat format)
     
    abstract void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 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

      public abstract void write() throws Exception
      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
      Throws:
      VariableNotContainedInDatasetException
    • getWantedDateRange

      public static ucar.nc2.time.CalendarDateRange getWantedDateRange(ucar.nc2.ft2.coverage.SubsetParams ncssParams) throws NcssException
      Throws:
      NcssException