Changeset 18394 for trunk/DataCheck
- Timestamp:
- 12/29/15 20:56:38 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/ReDoStar.sh
r17900 r18394 4 4 printprocesslog "INFO starting $0" 5 5 6 #root=/opt/root_svn/bin/thisroot.sh 7 #source $root 6 # get date 7 checkstring=`echo $certaindate | grep -E -o '^20[0-9][0-9]\/[01][0-9]\/[0-3][0-9]$'` 8 if [ "$checkstring" = "" ] || [ "$certaindate" = "" ] 9 then 10 echo "Please give the variable certaindate in the correct format (YYYY/MM/DD)" 11 finish 12 else 13 date=$certaindate 14 fi 8 15 9 anapath=/loc_data/analysis 10 auxpath=/loc_data/aux 11 12 printprocesslog "INFO get list of calibrated files" 13 14 date="2014/05/24" 15 #calfiles=( `find $anapath -type f -name '*_C.root' 2>/dev/null | grep -v failed_stuff | sort` ) 16 printprocesslog "INFO get list of calibrated files for "$date 16 17 calfiles=( `find $anapath/callisto/$date -type f -name '*_C.root' 2>/dev/null | sort` ) 17 18 if [ ${#calfiles[@]} -eq 0 ] 18 19 then 19 printprocesslog "INFO no calibrated files available "20 printprocesslog "INFO no calibrated files available for "$date 20 21 finish 21 22 fi 22 #starfiles=( `find $anapath -type f -name '*_I.root' 2>/dev/null | grep -v failed_stuff | sort` ) 23 printprocesslog "INFO get list of star files" 23 24 starfiles=( `find $anapath/star/$date -type f -name '*_I.root' 2>/dev/null | sort` ) 24 25 if [ ${#starfiles[@]} -eq 0 ]
Note:
See TracChangeset
for help on using the changeset viewer.