Changeset 7106


Ignore:
Timestamp:
05/30/05 17:28:19 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7102 r7106  
    2121
    2222                                                 -*-*- END OF LINE -*-*-
     23 2005/05/30 Daniela Dorner
     24
     25   * datacenter/scripts/buildsequenceentries, checkstardone, correcttime,
     26       doexclusions, fillcallisto, insertdatasets, runganymed,
     27       checkfilesforsequenceavail, copyscript, filesondisk, fillstar
     28       runcallisto, runstar, writesequencefiles:
     29     - moved two variables from the scripts to the sourcefile
     30
     31   * datacenter/scripts/runganymed:
     32     - changed # of processes
     33
     34
     35
    2336 2005/05/27 Daniela Dorner
    2437
  • trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries

    r7048 r7106  
    3939year=`date +%Y`
    4040
    41 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
     41todofile=$listpath/ToDo-$table-$column.txt
    4242getstatuslogpath=$logpath/getstatus/buildsequenceentries/$year
    4343getstatuslog=$getstatuslogpath/getstatus-buildsequenceentries-$datetime.log
  • trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail

    r7048 r7106  
    3535year=`date +%Y`
    3636
    37 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
     37todofile=$listpath/ToDo-$table-$column.txt
    3838getstatuslogpath=$logpath/getstatus/checkfileavail/$year
    3939getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log
  • trunk/MagicSoft/Mars/datacenter/scripts/checkstardone

    r7074 r7106  
    3535year=`date +%Y`
    3636
    37 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
     37todofile=$listpath/ToDo-$table-$column.txt
    3838getstatuslogpath=$logpath/getstatus/checkstardone/$year
    3939getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log
  • trunk/MagicSoft/Mars/datacenter/scripts/correcttime

    r7030 r7106  
    3535year=`date +%Y`
    3636
    37 listdir=/magic/datacenter/lists
    3837getstatuslogpath=$logpath/getstatus/correct_raw_time/$year
    3938getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log
     
    5049
    5150
    52 if [ -e $listdir/ToDo-$table-$column.txt ]
     51if [ -e $listpath/ToDo-$table-$column.txt ]
    5352then
    5453   echo "correct_raw_time is already running -> exit"
     
    6665esac
    6766
    68 runs=(`cat $listdir/ToDo-$table-$column.txt`)
     67runs=(`cat $listpath/ToDo-$table-$column.txt`)
    6968
    7069if [ "$runs" = "" ]
    7170then
    7271   echo "nothing to do -> exit"
    73    rm -v $listdir/ToDo-$table-$column.txt
     72   rm -v $listpath/ToDo-$table-$column.txt
    7473   exit
    7574fi
     
    8079do
    8180  echo "getting path for run $run ... "
    82   infile=`find /magic/data/rawfiles-wrong-timing/ -name *${run}_[D,C,P,S]_*`
     81  infile=`find $datapath/rawfiles-wrong-timing/ -name *${run}_[D,C,P,S]_*`
    8382  echo "infile:"$infile
    8483  outfile=`echo $infile | sed -e 's/-wrong-timing//g'`
     
    136135done
    137136
    138 rm -v $listdir/ToDo-$table-$column.txt
     137rm -v $listpath/ToDo-$table-$column.txt
    139138
  • trunk/MagicSoft/Mars/datacenter/scripts/doexclusions

    r7049 r7106  
    3939year=`date +%Y`
    4040
    41 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
     41todofile=$listpath/ToDo-$table-$column.txt
    4242getstatuslogpath=$logpath/getstatus/doexclusions/$year
    4343getstatuslog=$getstatuslogpath/getstatus-doexcludions-$datetime.log
  • trunk/MagicSoft/Mars/datacenter/scripts/filesondisk

    r7030 r7106  
    3333
    3434subsystemdir=/magic/subsystemdata
    35 rawdir=/magic/data
    3635filesondisklogpath=$logpath/filesondisk/`date +%Y`
    3736
     
    137136column=fRawFileAvail
    138137
    139 find $rawdir -name '*.raw' | cut -d_ -f2 > $filename
     138find $datapath -name '*.raw' | cut -d_ -f2 > $filename
    140139
    141140echo "resetting runs..."                                   
  • trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto

    r7052 r7106  
    3737year=`date +%Y`
    3838
    39 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
     39todofile=$listpath/ToDo-$table-$column.txt
    4040getstatuslogpath=$logpath/getstatus/fillcallisto/$year
    4141getstatuslog=$getstatuslogpath/getstatus-fillcallisto-$datetime.log
     
    106106   no=`printf %08d $sequence | cut -c 0-4`
    107107   no2=`printf %08d $sequence`
    108    path="/magic/data/callisto/$no/$no2"
     108   path="$datapath/callisto/$no/$no2"
    109109   signalfile=$path/signal$no2.root
    110110   calibfile=$path/calib$no2.root
  • trunk/MagicSoft/Mars/datacenter/scripts/fillstar

    r7084 r7106  
    3737year=`date +%Y`
    3838
    39 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
     39todofile=$listpath/ToDo-$table-$column.txt
    4040getstatuslogpath=$logpath/getstatus/fillstar/$year
    4141getstatuslog=$getstatuslogpath/getstatus-fillstar-$datetime.log
     
    106106   no=`printf %08d $sequence | cut -c 0-4`
    107107   no2=`printf %08d $sequence`
    108    path="/magic/data/star/$no/$no2"
     108   path="$datapath/star/$no/$no2"
    109109   starfile=$path/star$no2.root
    110110   fillstarlogpath=$logpath/fillstar/$no
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r7051 r7106  
    4040pno=24 # number of processes, i.e. number of todo-files
    4141
    42 todofile=/magic/datacenter/lists/ToDo-$table-$column
     42todofile=$listpath/ToDo-$table-$column
    4343getstatuslogpath=$logpath/getstatus/callisto/$year
    4444getstatuslog=$getstatuslogpath/getstatus-callisto-$datetime.log
     
    174174  no=`printf %08d $sequence | cut -c 0-4`
    175175  no2=`printf %08d $sequence`
    176   outpath="/magic/data/callisto/$no/$no2"
     176  outpath="$datapath/callisto/$no/$no2"
    177177  echo "outpath: "$outpath >> $scriptlog 2>&1
    178178  if [ ! -d $outpath ]
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r7102 r7106  
    3636datetime=`date +%F-%H-%M-%S`
    3737year=`date +%Y`
    38 pno=24 # number of processes, i.e. number of todo-files
    39 
    40 todofile=/magic/datacenter/lists/ToDo-$table-$column
     38pno=4 # number of processes, i.e. number of todo-files
     39
     40todofile=$listpath/ToDo-$table-$column
    4141getstatuslogpath=$logpath/getstatus/ganymed/$year
    4242getstatuslog=$getstatuslogpath/getstatus-ganymed-$datetime.log
     
    169169  no=`printf %08d $dataset | cut -c 0-5`
    170170  no2=`printf %08d $dataset`
    171   outpath="/magic/data/ganymed/$no/$no2"
     171  outpath="$datapath/ganymed/$no/$no2"
    172172  echo "outpath: "$outpath >> $scriptlog 2>&1
    173173  if [ ! -d $outpath ]
  • trunk/MagicSoft/Mars/datacenter/scripts/runstar

    r7051 r7106  
    3838pno=24 # number of processes, i.e. number of todo-files
    3939
    40 todofile=/magic/datacenter/lists/ToDo-$table-$column
     40todofile=$listpath/ToDo-$table-$column
    4141getstatuslogpath=$logpath/getstatus/star/$year
    4242getstatuslog=$getstatuslogpath/getstatus-star-$datetime.log
     
    169169  no=`printf %08d $sequence | cut -c 0-4`
    170170  no2=`printf %08d $sequence`
    171   outpath="/magic/data/star/$no/$no2"
     171  outpath="$datapath/star/$no/$no2"
    172172  inpath=`echo $outpath | sed -e 's/star/callisto/'`
    173173  echo "inpath: "$inpath >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7030 r7106  
    3636
    3737lockpath=/magic/datacenter/locks
     38listpath=/magic/datacenter/lists
    3839logpath=/magic/datacenter/autologs
     40datapath=/magic/data
    3941
  • trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles

    r7052 r7106  
    3737year=`date +%Y`
    3838
    39 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
     39todofile=$listpath/ToDo-$table-$column.txt
    4040getstatuslogpath=$logpath/getstatus/writesequencefiles/$year
    4141getstatuslog=$getstatuslogpath/getstatus-writesequencefiles-$datetime.log
Note: See TracChangeset for help on using the changeset viewer.