Ignore:
Timestamp:
06/27/18 03:20:49 (6 years ago)
Author:
Daniela Dorner
Message:
fixed bug
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Tools/get_data.sh

    r19030 r19031  
    2424   # time range and source
    2525   where=" WHERE fSourceKey="$source" AND fNight BETWEEN "$nightmin" AND "$nightmax
     26   where=$where" AND NOT ISNULL(fNumExcEvts) "
    2627   # some sanity checks
    2728   where=$where" AND fRunTypeKey=1 "
     
    158159      fi
    159160      queryext=$queryext" "$time" as time, "$start" as start, "$stop" as stop, "
    160       queryext=$queryext" round("$correxcrate", 1) as correxcrate, round($flux, "$fluxprec") as flux, "
     161      queryext=$queryext" round("$correxcrate", 1) as correxcrate, round("$flux", "$fluxprec") as flux, "
    161162      queryext=$queryext" "$deltat" as deltat, round("$ontime", 1) as ontime, "
    162       queryext=$queryext" round("$correxcrateerr", 1) as correxcrateerr, round($fluxerr, "$fluxprec") as fluxerr, "
     163      queryext=$queryext" round("$correxcrateerr", 1) as correxcrateerr, round("$fluxerr", "$fluxprec") as fluxerr, "
    163164      queryext=$queryext" round("$significance", 1) as significance "
    164165     
     
    244245# db
    245246sqlpw=/home/$USER/.mysql.pw # file with mysql credentials
    246 host=lp-fact
    247 #host=10.0.100.21
     247#host=lp-fact
     248host=10.0.100.21
    248249#host=localhost
    249250dbname=factdata # name of database
Note: See TracChangeset for help on using the changeset viewer.