Changeset 14828 for trunk/DataCheck/Processing
- Timestamp:
- 02/04/13 05:34:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillAuxData.sh
r13599 r14828 89 89 # `date +%Y/%m/%d --date="-156hour"` `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-204hour"` \ 90 90 ) 91 dates=( "2012/03/25" "2012/03/26" "2012/03/27" "2012/03/28" "2012/03/29" "2012/03/30" "2012/04/10" "2012/04/09" "2012/04/08" "2012/04/06" "2012/04/05" "2012/04/03" ) 91 92 #dates=( `find $ziprawdata -mindepth 3 -type d | sort | sed "s/\${ziprawdata_for_sed}//g" | sed -e 's/^\///'` ) #all available dates in /loc_data/zipraw 92 93 printprocesslog "INFO processing the following night(s): "${dates[@]} … … 187 188 # continue 188 189 #fi 189 runtype=`$factpath/fitsdump -h -t Events$rawfile 2>/dev/null | grep RUNTYPE | grep -E -o "['][a-z-]+[']" | sed -e "s/'//g"`190 mjdrefraw=`$factpath/fitsdump -h -t Events$rawfile 2>/dev/null | grep 'MJDREF' | grep -E -o '[0-9]{5}'`191 tstarti=`$factpath/fitsdump -h -t Events$rawfile 2>/dev/null | grep 'TSTARTI' | grep -E -o '[0-9]{5}'`192 tstartf=`$factpath/fitsdump -h -t Events$rawfile 2>/dev/null | grep 'TSTARTF' | grep -E -o '0[.][0-9]+'`193 tstopi=`$factpath/fitsdump -h -t Events$rawfile 2>/dev/null | grep 'TSTOPI' | grep -E -o '[0-9]{5}'`194 tstopf=`$factpath/fitsdump -h -t Events$rawfile 2>/dev/null | grep 'TSTOPF' | grep -E -o '0[.][0-9]+'`190 runtype=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep RUNTYPE | grep -E -o "['][a-z-]+[']" | sed -e "s/'//g"` 191 mjdrefraw=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep 'MJDREF' | grep -E -o '[0-9]{5}'` 192 tstarti=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep 'TSTARTI' | grep -E -o '[0-9]{5}'` 193 tstartf=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep 'TSTARTF' | grep -E -o '0[.][0-9]+'` 194 tstopi=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep 'TSTOPI' | grep -E -o '[0-9]{5}'` 195 tstopf=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep 'TSTOPF' | grep -E -o '0[.][0-9]+'` 195 196 if [ "$tstarti" == "" ] || [ "$tstopi" == "" ] || [ "$tstartf" == "" ] || [ "$tstopf" == "" ] 196 197 then
Note:
See TracChangeset
for help on using the changeset viewer.