Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JNOAA.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 #
3 #
4 # \author mdejong
5 #
6 version=1.0
7 script=${0##*/}
8 
9 if [ -z $JPP_DIR ]; then
10  echo "Variable JPP_DIR undefined."
11  exit
12 fi
13 
14 source $JPP_DIR/setenv.sh $JPP_DIR
15 
16 set_variable: DEBUG COMPASS_DEBUG 2
17 set_variable: WORKDIR COMPASS_WORKDIR /tmp
18 set_variable+ BACKGROUND COMPASS_BACKGROUND: -B
19 set_variable DIR $JPP_DIR/examples/JCompass/
20 set_variable TIMESTAMP "%d-%m-%y%F1970-01-01 00:00:00"
21 
22 if do_usage $*; then
23  usage "$script"
24 fi
25 
26 if (( $# != 0 )); then
27  fatal "Wrong number of parameters."
28 fi
29 
30 $DIR/JNOAA \
31  -o $WORKDIR/noaa.root \
32  -d $DEBUG
33 
34 JPlot1D \
35  -w 1200x600 \
36  -f $WORKDIR/noaa.root:\.\* \
37  -\^ "magnetic declination [rad]" \
38  -y "-0.1 +0.1" \
39  -t "$TIMESTAMP" \
40  -N "X 510" \
41  -T "" \
42  -L TL \
43  -o $WORKDIR/noaa.gif $BACKGROUND
data_type w[N+1][M+1]
Definition: JPolint.hh:741
exit
Definition: JPizza.sh:36
do echo Generating $dir eval DIR
Definition: JPlotNPE1D.sh:52
then JPizza f
Definition: JPizza.sh:46
then echo
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:20
do set_variable OUTPUT_DIRECTORY $WORKDIR T
do $DIR JTransitTime o
Definition: JTransitTime.sh:44
* usage
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:45
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
then display $WORKDIR
Definition: plot-Domino.sh:127
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR tmp set_variable JDAQ_TIMESLICE JDAQTimeslice if do_usage *then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
Definition: JLegolas.sh:23
static const char *const TIMESTAMP
Time stamp of earliest UTC time.
then usage $script[input file[working directory[option]]] nWhere option can be N
Definition: JMuonPostfit.sh:35
version
Definition: JCalibratePMT.sh:7