Changeset 12980
- Timestamp:
- 03/01/12 11:41:21 (13 years ago)
- Location:
- trunk/DataCheck
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/CheckRawData.sh
r12972 r12980 58 58 59 59 # get last 3 nights 60 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` )60 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` ) 61 61 #dates=( `find /loc_data/zipraw/ -mindepth 3 -type d | sort | sed -e 's/\/loc_data\/zipraw\///g'` ) #all available dates in /loc_data/zipraw 62 #dates=( "2012/02/19" )63 62 64 63 # do check for rawfiles of these dates -
trunk/DataCheck/FillAuxData.sh
r12979 r12980 93 93 94 94 95 # get last 2nights96 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` )95 # get last 3 nights 96 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` ) 97 97 #dates=( `find $ziprawdata -mindepth 3 -type d | sort | sed "s/\${ziprawdata_for_sed}//g" | sed -e 's/^\///'` ) #all available dates in /loc_data/zipraw 98 #echo ${dates[@]}99 #dates=( "2012/02/21" "2012/02/20" "2012/02/19" "2012/02/18" )100 98 printprocesslog "INFO processing the following night(s): "${dates[@]} 101 99 echo `date`": processing the following night(s): "${dates[@]} >> $logfile 2>&1 -
trunk/DataCheck/RsyncAux.sh
r12971 r12980 32 32 33 33 # get last 3 nights 34 dates=( `date +%Y/%m/%d ` `date +%Y/%m/%d --date="-1day"` `date +%Y/%m/%d --date="-2day"` `date +%Y/%m/%d --date="-3day"` )34 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` ) 35 35 36 36 # do rsync for rawfiles of these dates -
trunk/DataCheck/RsyncRaw.sh
r12979 r12980 31 31 32 32 # get last 3 nights 33 dates=( `date +%Y/%m/%d ` `date +%Y/%m/%d --date="-1day"` `date +%Y/%m/%d --date="-2day"` `date +%Y/%m/%d --date="-3day"` )33 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` ) 34 34 35 35 # do rsync for rawfiles of these dates -
trunk/DataCheck/ZipRawData.sh
r12970 r12980 11 11 12 12 # get last 3 nights 13 dates=( `date +%Y/%m/%d ` `date +%Y/%m/%d --date="-1day"` `date +%Y/%m/%d --date="-2day"` `date +%Y/%m/%d --date="-3day"` )13 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` ) 14 14 15 15 # time rawfile is untouched before further processing (i.e. adding checksum and zipping)
Note:
See TracChangeset
for help on using the changeset viewer.