Changeset 18092 for trunk/DataCheck
- Timestamp:
- 01/11/15 18:37:04 (10 years ago)
- Location:
- trunk/DataCheck
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CheckRawData.sh
r18083 r18092 78 78 printprocesslog "INFO finding files to be checked in $rawdir..." 79 79 #fitsfiles=`ls $rawdir/*.fits 2>/dev/null | sort ` 80 fitsfiles= `find $rawdir -type f -regex '.*[.]fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort `80 fitsfiles=( `find $rawdir -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort ` ) 81 81 82 82 # loop to check files -
trunk/DataCheck/QuickLook/Step1.sh
r18068 r18092 96 96 97 97 printprocesslog "INFO get lists of raw files on newdaq and daq" 98 files=( `find $rawpathnewdaq -type f -regex '.* [.]fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort` )98 files=( `find $rawpathnewdaq -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort` ) 99 99 # to treat links use: 100 #files=( `find -L $rawpathnewdaq -regex '.* [.]fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort` )100 #files=( `find -L $rawpathnewdaq -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort` ) 101 101 102 102 if [ ${#files[@]} -eq 0 ] … … 105 105 finish 106 106 fi 107 fileslocal=( `find -L $rawpath -type f -regex '.* [.]fits[.]?[g]?[f]?[z]?' 2>/dev/null| sort` )107 fileslocal=( `find -L $rawpath -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' 2>/dev/null| sort` ) 108 108 callistofiles=( `find $calpath -type f -name $date*-calibration.log 2>/dev/null| sort` ) 109 109 # get number of dataruns from DB … … 147 147 148 148 source `dirname $0`/../Sourcefile.sh 149 149 150 # check if file is already transferred 150 151 if ! ls $localfile >/dev/null 2>&1 … … 359 360 # get new file lists 360 361 printprocesslog "INFO get new file lists for "$datepath 361 files=( `find $rawpathnewdaq -type f -regex '.* [.]fits[.]?[g]?[f]?[z]?' | sort` )362 fileslocal=( `find -L $rawpath -type f -regex '.* [.]fits[.]?[g]?[f]?[z]?' | sort` )362 files=( `find $rawpathnewdaq -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' | sort` ) 363 fileslocal=( `find -L $rawpath -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' | sort` ) 363 364 callistofiles=( `find $calpath -type f -name $date*-calibration.log | sort` ) 364 365 #echo "INFO #files-daq:"${#fileslocal[@]}" #files-newdaq:"${#files[@]}" #callisto-logs:"${#callistofiles[@]}" #runs:"$numcalibrated … … 372 373 sleep 60 373 374 printprocesslog "INFO get new file lists for "$datepath 374 files=( `find $rawpathnewdaq -type f -regex '.* [.]fits[.]?[g]?[f]?[z]?' | sort` )375 fileslocal=( `find -L $rawpath -type f -regex '.* [.]fits[.]?[g]?[f]?[z]?' | sort` )375 files=( `find $rawpathnewdaq -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' | sort` ) 376 fileslocal=( `find -L $rawpath -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]fits[.]?[g]?[f]?[z]?' | sort` ) 376 377 callistofiles=( `find $calpath -type f -name $date*-calibration.log | sort` ) 377 378 fi
Note:
See TracChangeset
for help on using the changeset viewer.