Changeset 18794


Ignore:
Timestamp:
03/27/17 01:09:27 (8 years ago)
Author:
Daniela Dorner
Message:
fixed bug in binning for queries
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/QuickLook/FlareAlerts.sh

    r18793 r18794  
    5858if [ ${#sourcekeys[@]} -eq 0 ]
    5959then
    60    echo "no sources found for "$night
     60   echo " No sources found for "$night >> $logfile
    6161   finish
    6262fi
     
    113113      bin2=$bin
    114114   fi
     115   echo "binning:-"$bin2"- 1+"$1"+ b_"$bin"_"
    115116   # query to get information from DB
    116117   query="SELECT MAX(o.b) AS num, "
     
    595596   bin=20
    596597   echo " "$bin" min binning..." >> $logfile
    597    get_query_minute_binning
     598   get_query_minute_binning $bin
    598599   results=( `sendquery` )
    599600   evaluate_result
     
    617618      bin=20
    618619      echo " "$bin" min binning..." >> $logfile
    619       get_query_minute_binning
     620      get_query_minute_binning $bin
    620621      results=( `sendquery` )
    621622      evaluate_result
     
    638639      bin=30
    639640      echo " "$bin" min binning..." >> $logfile
    640       get_query_minute_binning
     641      get_query_minute_binning $bin
    641642      results=( `sendquery` )
    642643      evaluate_result
     
    656657   exclimit=0.5
    657658   onlyifhigher="no"
    658    bin=20
    659659   # checking nightly binning
    660660   bin=
     
    663663   results=( `sendquery` )
    664664   evaluate_result
     665   bin=20
    665666   echo " "$bin" min binning..." >> $logfile
    666    get_query_minute_binning
     667   get_query_minute_binning $bin
    667668   results=( `sendquery` )
    668669   evaluate_result
Note: See TracChangeset for help on using the changeset viewer.