protected DataIterator makeDataIterator(StationObsDataset sobs) { Date start = sobs.getStartDate(); if (start.after(want_end)) return null; Date end = sobs.getEndDate(); if (end.before(want_start)) return null; ucar.unidata.geoloc.Station s = sobs.getStation(stationName); if (s == null) return null; return sobs.getDataIterator(s, start, end); } }
protected DataIterator makeDataIterator(StationObsDataset sobs) { Date start = sobs.getStartDate(); if (start.after(want_end)) return null; Date end = sobs.getEndDate(); if (end.before(want_start)) return null; ucar.unidata.geoloc.Station s = sobs.getStation(stationName); if (s == null) return null; return sobs.getDataIterator(s, start, end); } }
protected DataIterator makeDataIterator(StationObsDataset sobs) { Date start = sobs.getStartDate(); if (start.after(want_end)) return null; Date end = sobs.getEndDate(); if (end.before(want_start)) return null; ucar.unidata.geoloc.Station s = sobs.getStation(stationName); if (s == null) return null; return sobs.getDataIterator(s, start, end); } }
createStations(sobsDataset.getStations()); ncfile.addGlobalAttribute("time_coverage_start", dateFormatter.toDateTimeStringISO(sobsDataset.getStartDate())); ncfile.addGlobalAttribute("time_coverage_end", dateFormatter.toDateTimeStringISO(sobsDataset.getEndDate()));
createStations(sobsDataset.getStations()); ncfile.addGlobalAttribute("time_coverage_start", dateFormatter.toDateTimeStringISO(sobsDataset.getStartDate())); ncfile.addGlobalAttribute("time_coverage_end", dateFormatter.toDateTimeStringISO(sobsDataset.getEndDate()));
createStations(sobsDataset.getStations()); ncfile.addGlobalAttribute("time_coverage_start", dateFormatter.toDateTimeStringISO(sobsDataset.getStartDate())); ncfile.addGlobalAttribute("time_coverage_end", dateFormatter.toDateTimeStringISO(sobsDataset.getEndDate()));
Date start = sobs.getStartDate(); Date end = sobs.getEndDate(); if ((start != null) && (end != null)) {
Date start = sobs.getStartDate(); Date end = sobs.getEndDate(); if ((start != null) && (end != null)) {
Date start = sobs.getStartDate(); Date end = sobs.getEndDate(); if ((start != null) && (end != null)) {