Ejemplo n.º 1
0
 /**
  * _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;
 }
Ejemplo n.º 2
0
 /**
  * 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;
 }