public StationProfileFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, DateUnit timeUnit, String altUnits, int npts) { super( name, timeUnit, altUnits, FeatureType.STATION_PROFILE); s = new StationImpl(name, desc, wmoId, lat, lon, alt, npts); this.timeSeriesNpts = npts; }
public StationImpl( String name, String desc, String wmoId, double lat, double lon, double alt, int nobs) { super(lat, lon, alt); setName(name); setDescription(desc); setWmoId(wmoId); setNobs( nobs); }
public StationImpl( String name, String desc, String wmoId, double lat, double lon, double alt) { super(lat, lon, alt); setName(name); setDescription(desc); setWmoId(wmoId); }
public StationImpl( String name, String desc, String wmoId, double lat, double lon, double alt) { super(lat, lon, alt); setName(name); setDescription(desc); setWmoId(wmoId); }
public StationImpl( String name, String desc, String wmoId, double lat, double lon, double alt, int nobs) { super(lat, lon, alt); setName(name); setDescription(desc); setWmoId(wmoId); setNobs( nobs); }
public StationFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, DateUnit timeUnit, int npts) { super(name); s = new StationImpl(name, desc, wmoId, lat, lon, alt); this.timeUnit = timeUnit; this.npts = npts; }
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 StationTimeSeriesFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, DateUnit timeUnit, String altUnits, int npts) { super(name, timeUnit, altUnits); s = new StationImpl(name, desc, wmoId, lat, lon, alt, npts); this.timeUnit = timeUnit; this.npts = npts; }
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 StationProfileFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, DateUnit timeUnit, int npts) { super( name, FeatureType.STATION_PROFILE); s = new StationImpl(name, desc, wmoId, lat, lon, alt); this.timeUnit = timeUnit; this.timeSeriesNpts = npts; }
public StationProfileFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, CalendarDateUnit timeUnit, String altUnits, int npts) { super( name, timeUnit, altUnits, FeatureType.STATION_PROFILE); station = new StationImpl(name, desc, wmoId, lat, lon, alt, npts); this.timeSeriesNpts = npts; }
Station makeStation(StructureData stationData) { if (stnVE.isMissing(stationData)) return null; String stationName = stnVE.getCoordValueAsString(stationData); String stationDesc = (stnDescVE == null) ? "" : stnDescVE.getCoordValueAsString(stationData); String stnWmoId = (wmoVE == null) ? "" : wmoVE.getCoordValueAsString(stationData); double lat = latVE.getCoordValue(stationData); double lon = lonVE.getCoordValue(stationData); double elev = (stnAltVE == null) ? Double.NaN : stnAltVE.getCoordValue(stationData); // missing lat, lon means skip this station if (Double.isNaN(lat) || Double.isNaN(lon)) return null; return new StationImpl(stationName, stationDesc, stnWmoId, lat, lon, elev); }
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 RemoteStationFeatureImpl(s, null));