Class AbstractStationSubsetWriter

java.lang.Object
thredds.server.ncss.view.dsg.DsgSubsetWriter
thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
Direct Known Subclasses:
StationSubsetWriterCSV, StationSubsetWriterNetcdf, StationSubsetWriterWaterML, StationSubsetWriterXML

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

    • stationFeatureCollection

      protected final ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatureCollection
    • wantedStations

      protected final List<ucar.nc2.ft.point.StationFeature> wantedStations
    • headerDone

      protected boolean headerDone
  • Constructor Details

  • Method Details

    • writeHeader

      protected abstract void writeHeader(ucar.nc2.ft.point.StationPointFeature stationPointFeat) throws Exception
      Throws:
      Exception
    • writeStationPointFeature

      protected abstract void writeStationPointFeature(ucar.nc2.ft.point.StationPointFeature stationPointFeat) throws Exception
      Throws:
      Exception
    • writeFooter

      protected abstract void writeFooter() throws Exception
      Throws:
      Exception
    • write

      public void write() throws Exception
      Specified by:
      write in class DsgSubsetWriter
      Throws:
      Exception
    • writeStationTimeSeriesFeature

      protected int writeStationTimeSeriesFeature(ucar.nc2.ft.StationTimeSeriesFeature stationFeat) throws Exception
      Throws:
      Exception