source: trunk/Mars/scripts/merpptest@ 18203

Last change on this file since 18203 was 7727, checked in by tbretz, 19 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.8 KB
Line 
1#!/bin/sh
2
3##############################################################################
4#
5# *
6# * This file is part of MARS, the MAGIC Analysis and Reconstruction
7# * Software. It is distributed to you in the hope that it can be a useful
8# * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
9# * It is distributed WITHOUT ANY WARRANTY.
10# *
11# * Permission to use, copy, modify and distribute this software and its
12# * documentation for any purpose is hereby granted without fee,
13# * provided that the above copyright notice appear in all copies and
14# * that both that copyright notice and this permission notice appear
15# * in supporting documentation. It is provided "as is" without express
16# * or implied warranty.
17# *
18#
19#
20# Author(s): Thomas Bretz, 5/2006 <mailto:tbretz@astro.uni-wuerzburg.de>
21#
22# Copyright: MAGIC Software Development, 2000-2006
23#
24#
25##############################################################################
26#
27# This script can be used to test merpping subsystem data
28#
29##############################################################################
30
31# Add here a line which defines which files should be tested
32files=`find /magic/subsystemdata/cc/2006/05 -name CC_20[0-2][0-9]_[01][0-9]_[0-3][0-9]_*.rep | sort`
33
34#files=`find /magic/subsystemdata/cc/ -name CC_20[0-2][0-9]_[01][0-9]_[0-3][0-9]_*.rep`
35#files=`find /magic/subsystemdata/cc/2004/ -name 20[0-2][0-9][01][0-9][0-3][0-9]_*_S.rep`
36
37# Output the files which will be tested on top of the log-file
38echo "files: "$files > merpptest.log
39
40# Add empty line to log.file
41echo >> merpptest.log
42
43# Loop over all files
44for file in ${files[@]}
45do
46 # Echo the file name to the console and log-file
47 echo $file | tee -a merpptest.log
48
49 # Merpp into /dev/null and append the output to the log.file
50 merpp -f $file /dev/null | tee -a merpptest.log
51done
52
Note: See TracBrowser for help on using the repository browser.