Jpp  19.1.0
the software that should make you happy
get_convergence_angle.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 
18 if do_usage $*; then
19  usage "$script <detector file>"
20 fi
21 
22 if (( $# != 1 )); then
23  fatal "Wrong number of parameters."
24 fi
25 
26 set_variable DETECTOR $argv[1]
27 
28 eval `JPrintDetector -a $DETECTOR -O HEADER`
29 
30 if (( $DEBUG >= 3 )); then
31  echo $DETECTOR
32  JPrintDetector -a $DETECTOR -O header
33 fi
34 
35 get_convergence_angle.py $UTM_EAST $UTM_NORTH ${UTM_ZONE//[^0-9]/} ${UTM_ZONE//[0-9]/}