Example #1
0
 /**
  * _more_
  *
  * @param range _more_
  * @param var _more_
  * @return _more_
  * @throws Exception _more_
  */
 protected double[] getDoubleData(Range range, String var) throws Exception {
   double[] d =
       SqlUtil.readDouble(
           SqlUtil.getIterator(select(var, TABLE_DATA, "order by " + varTime)),
           1,
           getMissingValue(var));
   if (d.length == 0) {
     throw new BadDataException("No observations found in data base");
   }
   return d;
 }