- Timestamp:
- 05/27/14 22:08:04 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/ReDoStar.sh
r15387 r17900 12 12 printprocesslog "INFO get list of calibrated files" 13 13 14 date="2014/05/24" 14 15 #calfiles=( `find $anapath -type f -name '*_C.root' 2>/dev/null | grep -v failed_stuff | sort` ) 15 calfiles=( `find $anapath/callisto -type f -name '*_C.root' 2>/dev/null | sort` )16 calfiles=( `find $anapath/callisto/$date -type f -name '*_C.root' 2>/dev/null | sort` ) 16 17 if [ ${#calfiles[@]} -eq 0 ] 17 18 then … … 20 21 fi 21 22 #starfiles=( `find $anapath -type f -name '*_I.root' 2>/dev/null | grep -v failed_stuff | sort` ) 22 starfiles=( `find $anapath/star -type f -name '*_I.root' 2>/dev/null | sort` )23 starfiles=( `find $anapath/star/$date -type f -name '*_I.root' 2>/dev/null | sort` ) 23 24 if [ ${#starfiles[@]} -eq 0 ] 24 25 then 25 26 printprocesslog "INFO no star files available " 26 finish27 # finish 27 28 fi 28 29 … … 35 36 do 36 37 starfile=`echo $calfile | sed -e 's/callisto/star/' -e 's/_C/_I/'` 38 logfile=`echo $starfile | sed -e 's/_I.root/-images.log/'` 37 39 if ! ls $starfile >/dev/null 2>&1 38 40 then 39 echo $starfile40 41 echo $starfile" is missing -> reprocess. " 41 #source=`echo $starfile | cut -d/ -f4` 42 seqfile=`echo $starfile | sed -e 's/star/sequences/' -e 's/_I.root/.seq/'` 43 echo $seqfile 44 ##echo $source" "$seqfile 45 #`dirname $0`/RunStar.sh $source $seqfile 46 `dirname $0`/RunStar.sh $seqfile 42 outpath=`dirname $starfile` 43 makedir $outpath 44 `dirname $0`/RunStar.sh $logfile $calfile $outpath $starfile & 47 45 if ! ls $starfile >/dev/null 2>&1 48 46 then
Note:
See TracChangeset
for help on using the changeset viewer.