Changeset 18093
- Timestamp:
- 01/12/15 11:05:08 (10 years ago)
- Location:
- trunk/DataCheck
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CheckRawData.sh
r18092 r18093 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 '.*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 ` )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][.]d?r?s?[.]?fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort ` ) 81 81 82 82 # loop to check files 83 for file in $ fitsfiles83 for file in ${fitsfiles[@]} 84 84 do 85 85 printprocesslog "INFO checking file "$file -
trunk/DataCheck/QuickLook/Step1.sh
r18092 r18093 96 96 97 97 printprocesslog "INFO get lists of raw files on newdaq and daq" 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` )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][.]d?r?s?[.]?fits[.]?[g]?[f]?[z]?' 2>/dev/null | sort` ) 99 99 # to treat links use: 100 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` ) … … 105 105 finish 106 106 fi 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` ) 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][.]d?r?s?[.]?fits[.]?[g]?[f]?[z]?' 2>/dev/null| sort` ) 108 108 109 callistofiles=( `find $calpath -type f -name $date*-calibration.log 2>/dev/null| sort` ) 109 110 # get number of dataruns from DB … … 360 361 # get new file lists 361 362 printprocesslog "INFO get new file lists for "$datepath 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 files=( `find $rawpathnewdaq -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]d?r?s?[.]?fits[.]?[g]?[f]?[z]?' | sort` ) 364 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][.]d?r?s?[.]?fits[.]?[g]?[f]?[z]?' | sort` ) 364 365 callistofiles=( `find $calpath -type f -name $date*-calibration.log | sort` ) 365 366 #echo "INFO #files-daq:"${#fileslocal[@]}" #files-newdaq:"${#files[@]}" #callisto-logs:"${#callistofiles[@]}" #runs:"$numcalibrated … … 373 374 sleep 60 374 375 printprocesslog "INFO get new file lists for "$datepath 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 files=( `find $rawpathnewdaq -type f -regex '.*20[0-9][0-9][01][0-9][0-3][0-9][_][0-9][0-9][0-9][.]d?r?s?[.]?fits[.]?[g]?[f]?[z]?' | sort` ) 377 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][.]d?r?s?[.]?fits[.]?[g]?[f]?[z]?' | sort` ) 377 378 callistofiles=( `find $calpath -type f -name $date*-calibration.log | sort` ) 378 379 fi
Note:
See TracChangeset
for help on using the changeset viewer.