Class AbstractStationSubsetWriter

    • Field Detail

      • stationFeatureCollection

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

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

        protected boolean headerDone
    • Method Detail

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

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

        public static List<ucar.nc2.ft.point.StationFeature> getStationsInSubset​(ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatCol,
                                                                                 ucar.nc2.ft2.coverage.SubsetParams ncssParams)
                                                                          throws IOException
        Throws:
        IOException
      • findClosestStation

        public static ucar.unidata.geoloc.Station findClosestStation​(ucar.nc2.ft.StationTimeSeriesFeatureCollection stationFeatCol,
                                                                     ucar.unidata.geoloc.LatLonPoint pt)
                                                              throws IOException
        Throws:
        IOException