Changeset 8482 for trunk/MagicSoft/Mars/datacenter/scripts/correcttime
- Timestamp:
- 05/09/07 17:05:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/correcttime
r7944 r8482 20 20 # Author(s): Daniela Dorner 08/2004 <mailto:dorner@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 622 # Copyright: MAGIC Software Development, 2000-2007 23 23 # 24 24 # … … 31 31 # Then for each run the timing correction is done 32 32 # If this was successful, the status is inserted into the database using 33 # the macro setstatus.C33 # the function setstatus. 34 34 # 35 35 # This script was needed for the data between 06/2004 and 02/2005 (including … … 69 69 printprocesslog "INFO run correct_raw_time for run $run" 70 70 no=`printf %08d $run | cut -c 1-5` 71 var1=$no72 var2=$run73 71 echo "getting path for run $run ... " >> $scriptlog 2>&1 74 infile=`find $datapath/rawfiles-wrong-timing/ -name *${run}_[D ,C,P,S]_*`72 infile=`find $datapath/rawfiles-wrong-timing/ -name *${run}_[DCPS]_*` 75 73 echo "infile:"$infile >> $scriptlog 2>&1 76 74 outfile=`echo $infile | sed -e 's/-wrong-timing//g'` … … 86 84 check1=0 87 85 echo "run $program..." >> $scriptlog 2>&1 86 primvar=$run 88 87 setstatus "start" >> $scriptlog 2>&1 89 88
Note:
See TracChangeset
for help on using the changeset viewer.