Jpp  18.1.0
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 ${TMPDIR:-/tmp}
18 set_variable DIR $JPP_DIR/examples/JCompass/
20 set_variable: FORMAT GRAPHICS_FORMAT gif
21 set_variable+ BATCH GRAPHICS_BATCH -B
22 
23 if do_usage $*; then
24  usage "$script"
25 fi
26 
27 if (( $# != 0 )); then
28  fatal "Wrong number of parameters."
29 fi
30 
31 $DIR/JNOAA \
32  -o $WORKDIR/noaa.root \
33  -d $DEBUG
34 
35 JPlot1D \
36  -w 1200x600 \
37  -f $WORKDIR/noaa.root:\.\* \
38  -\^ "magnetic declination [rad]" \
39  -y "-0.1 +0.1" \
40  -t "$TIMESTAMP" \
41  -N "X 510" \
42  -T "" \
43  -L TL \
44  -o $WORKDIR/noaa.$FORMAT $BATCH
data_type w[N+1][M+1]
Definition: JPolint.hh:778
version
Definition: JEditTuneHV.sh:5
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
usr share Modules init zsh export TMPDIR
exit
Definition: JPizza.sh:36
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then fatal Wrong number of arguments fi DIR
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
Definition: JLegolas.sh:20
* usage
then usage $script< input file >[option[primary[working directory]]] nWhere option can be N
Definition: JMuonPostfit.sh:40
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then display $WORKDIR
Definition: plot-Domino.sh:128
then echo
Definition: JQAQC.sh:90
static const char *const TIMESTAMP
Time stamp of earliest UTC time.
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62