Changeset 15068


Ignore:
Timestamp:
03/14/13 04:44:18 (9 years ago)
Author:
Daniela Dorner
Message:
added additional variables
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Processing/FillAuxCurrents.sh

    r14881 r15068  
    33# option
    44doupdate="yes" # update all entries (needed when new fields have been added)
    5 #doupdate="no" # fill only entries which are not yet existing (default)
     5doupdate="no" # fill only entries which are not yet existing (default)
    66
    77source `dirname $0`/../Sourcefile.sh
     
    4343   auxdir=$auxdata/$date
    4444   runnumber=`echo $date | sed -e 's/\///g'`
     45   
     46#   if [ $runnumber -lt 20130301 ]
     47#   then
     48#      continue
     49#   fi
    4550
    4651   # check if aux files are available from that night
     
    115120   if [ "$doupdate" = "no" ]
    116121   then
    117       query=$query" AND ISNULL(fCurrentsMean) "
     122      query=$query" AND ISNULL(fCurrentsMedMean) "
    118123   fi
    119124
     
    200205            query=$query", fCurrentsDevRms="${currents[3]}
    201206         fi
     207         if [ "${currents[4]}" == "" ]
     208         then
     209            query=$query", fCurrentsMedMeanBeg=NULL"
     210         else
     211            query=$query", fCurrentsMedMeanBeg="${currents[4]}
     212         fi
     213         if [ "${currents[5]}" == "" ]
     214         then
     215            query=$query", fCurrentsMedMeanEnd=NULL"
     216         else
     217            query=$query", fCurrentsMedMeanEnd="${currents[5]}
     218         fi
    202219      else
    203220         query=$query" fCurrentsMedMean=NULL"
     
    205222         query=$query", fCurrentsDevMean=NULL"
    206223         query=$query", fCurrentsDevRms=NULL"
     224         query=$query", fCurrentsMedMeanBeg=NULL"
     225         query=$query", fCurrentsMedMeanEnd=NULL"
    207226      fi
    208227     
Note: See TracChangeset for help on using the changeset viewer.