コード例 #1
0
ファイル: RaobDataSource.java プロジェクト: Unidata/IDV
 /**
  * _more_
  *
  * @param dataChoice _more_
  * @param selection _more_
  * @param timeDriverTimes _more_
  * @return _more_
  */
 public List getAllTimesForTimeDriver(
     DataChoice dataChoice, DataSelection selection, List<DateTime> timeDriverTimes) {
   List results = null;
   List<DateTime> collectionTimes = new ArrayList();
   DateTime[] soundingTimes = raobDataSet.getSoundingAdapter().getSoundingTimes();
   for (int i = 0; i < soundingTimes.length; i++) {
     collectionTimes.add(soundingTimes[i]);
   }
   try {
     results = DataUtil.selectTimesFromList(collectionTimes, timeDriverTimes);
   } catch (Exception e) {
   }
   initTimes = results;
   return results;
 }
コード例 #2
0
ファイル: RaobDataSource.java プロジェクト: Unidata/IDV
 /**
  * Constructs from a specification of the data-source.
  *
  * @param descriptor A description of the data-source.
  * @param rds Radar datasource
  * @param properties A map of associated attributes.
  * @throws VisADException if a VisAD failure occurs.
  */
 public RaobDataSource(DataSourceDescriptor descriptor, RaobDataSet rds, Hashtable properties)
     throws VisADException {
   super(descriptor, "RAOB data: " + rds.getAdapterSource(), "RAOB data source", properties);
   this.raobDataSet = rds;
 }