cdm/src/main/java/ucar/nc2/ft/point/remote/StationCollectionStream.java
@Override
  protected StationHelper createStationHelper() throws IOException {
    // read in all the stations with the "stations" query
    StationHelper stationHelper = new StationHelper();

    try (InputStream in = CdmRemote.sendQuery(null, uri, "req=stations")) {
      PointStream.MessageType mtype = PointStream.readMagic(in);
      if (mtype != PointStream.MessageType.StationList) {
        throw new RuntimeException("Station Request: bad response");
      }

      int len = NcStream.readVInt(in);
      byte[] b = new byte[len];
      NcStream.readFully(in, b);
      PointStreamProto.StationList stationsp = PointStreamProto.StationList.parseFrom(b);
      for (ucar.nc2.ft.point.remote.PointStreamProto.Station sp : stationsp.getStationsList()) {
//        Station s = new StationImpl(sp.getId(), sp.getDesc(), sp.getWmoId(), sp.getLat(), sp.getLon(), sp.getAlt());
        stationHelper.addStation(new StationFeatureStream(null, null));    // LOOK WRONG
      }
      return stationHelper;
    }
  }
@Override
  protected StationHelper createStationHelper() throws IOException {
    // read in all the stations with the "stations" query
    StationHelper stationHelper = new StationHelper();

    try (InputStream in = CdmRemote.sendQuery(null, uri, "req=stations")) {
      PointStream.MessageType mtype = PointStream.readMagic(in);
      if (mtype != PointStream.MessageType.StationList) {
        throw new RuntimeException("Station Request: bad response");
      }

      int len = NcStream.readVInt(in);
      byte[] b = new byte[len];
      NcStream.readFully(in, b);
      PointStreamProto.StationList stationsp = PointStreamProto.StationList.parseFrom(b);
      for (ucar.nc2.ft.point.remote.PointStreamProto.Station sp : stationsp.getStationsList()) {
//        Station s = new StationImpl(sp.getId(), sp.getDesc(), sp.getWmoId(), sp.getLat(), sp.getLon(), sp.getAlt());
        stationHelper.addStation(new StationFeatureStream(null, null));    // LOOK WRONG
      }
      return stationHelper;
    }
  }
@ Override protected StationHelper createStationHelper ( ) throws IOException { // read in all the stations with the "stations" query StationHelper stationHelper = new StationHelper ( ) ; try ( InputStream in = CdmRemote . sendQuery ( null , uri , "req=stations" ) ) { PointStream . MessageType mtype = PointStream . readMagic ( in ) ; if ( mtype != PointStream . MessageType . StationList ) { throw new RuntimeException ( "Station Request: bad response" ) ; } int len = NcStream . readVInt ( in ) ; byte [ ] b = new byte [ len ] ; NcStream . readFully ( in , b ) ; PointStreamProto . StationList stationsp = PointStreamProto . StationList . parseFrom ( b ) ; for ( ucar . nc2 . ft . point . remote . PointStreamProto . Station sp : stationsp . getStationsList ( ) ) { //        Station s = new StationImpl(sp.getId(), sp.getDesc(), sp.getWmoId(), sp.getLat(), sp.getLon(), sp.getAlt()); stationHelper . addStation ( new StationFeatureStream ( null , null ) ) ; // LOOK WRONG } return stationHelper ; } }
initialize the stationHelper.
initialize the stationHelper .