public StationProfileFeatureImpl(Station s, CalendarDateUnit timeUnit, String altUnits, int npts) { super( s.getName(), timeUnit, altUnits, FeatureType.STATION_PROFILE); this.station = s; this.timeSeriesNpts = npts; }
public StationProfileFeatureImpl(Station s, DateUnit timeUnit, int npts) { super( s.getName(), FeatureType.STATION_PROFILE); this.s = s; this.timeUnit = timeUnit; this.timeSeriesNpts = npts; }
public StationProfileFeatureImpl(Station s, DateUnit timeUnit, String altUnits, int npts) { super( s.getName(), timeUnit, altUnits, FeatureType.STATION_PROFILE); this.s = s; this.timeSeriesNpts = npts; }
@Nonnull @Override public String getName() { return station.getName(); }
@Override public int compareTo(Station so) { return name.compareTo( so.getName()); }
public int compareTo(Station so) { return name.compareTo( so.getName()); }
StationDataIterator(ucar.unidata.geoloc.Station s) throws IOException { this.stationName = s.getName(); iterSobs = sobsList.iterator(); }
@Override public int compareTo(@Nonnull Station so) { return name.compareTo(so.getName()); }
public List<StationFeature> getStationFeatures( List<Station> stations) { List<StationFeature> result = new ArrayList<>(stations.size()); for (Station s : stations) { StationFeature ss = stationHash.get(s.getName()); if (ss != null) result.add(ss); } return result; }
public List<StationFeature> getStationFeatures( List<Station> stations) { List<StationFeature> result = new ArrayList<>(stations.size()); for (Station s : stations) { StationFeature ss = stationHash.get(s.getName()); if (ss != null) result.add(ss); } return result; }
@Override public String makeQuery() { StringBuilder query = new StringBuilder("stns="); for (Station s : getStationHelper().getStations()) { query.append(s.getName()); query.append(","); } return PointDatasetRemote.makeQuery(query.toString(), boundingBoxSubset, dateRangeSubset); } }
public String makeQuery() { StringBuilder query = new StringBuilder("stns="); for (Station s : stationHelper.getStations()) { query.append(s.getName()); query.append(","); } return PointDatasetRemote.makeQuery(query.toString(), boundingBoxSubset, dateRangeSubset); } }
public StationTimeSeriesFeatureImpl(Station s, DateUnit timeUnit, String altUnits, int npts) { super(s.getName(), timeUnit, altUnits); this.s = s; this.npts = npts; setBoundingBox( new LatLonRect(s.getLatLon(), .0001, .0001)); }
public StationFeatureImpl(Station s, DateUnit timeUnit, int npts) { super(s.getName()); this.s = s; this.timeUnit = timeUnit; this.npts = npts; setBoundingBox( new LatLonRect(s.getLatLon(), .0001, .0001)); }
public void writeRecord(StationObsDatatype sobs, StructureData sdata) throws IOException { if (debug) System.out.println("sobs= " + sobs + "; station = " + sobs.getStation()); writeRecord(sobs.getStation().getName(), sobs.getObservationTimeAsDate(), sdata); }
public void writeRecord(StationObsDatatype sobs, StructureData sdata) throws IOException { if (debug) System.out.println("sobs= " + sobs + "; station = " + sobs.getStation()); writeRecord(sobs.getStation().getName(), sobs.getObservationTimeAsDate(), sdata); }
public void writeRecord(StationObsDatatype sobs, StructureData sdata) throws IOException { if (debug) System.out.println("sobs= " + sobs + "; station = " + sobs.getStation()); writeRecord(sobs.getStation().getName(), sobs.getObservationTimeAsDate(), sdata); }
public StationImpl( Station s, int nobs) { super(s.getLatitude(), s.getLongitude(), s.getAltitude()); setName(s.getName()); setDescription(s.getDescription()); setWmoId(s.getWmoId()); setNobs( nobs); }
public StationImpl( Station s, int nobs) { super(s.getLatitude(), s.getLongitude(), s.getAltitude()); setName(s.getName()); setDescription(s.getDescription()); setWmoId(s.getWmoId()); setNobs( nobs); }