Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
makedeclinationtable.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2#
3#
4# \author mdejong
5#
6version=1.0
7script=${0##*/}
8
9if [ -z $JPP_DIR ]; then
10 echo "Variable JPP_DIR undefined."
11 exit
12fi
13
14source $JPP_DIR/setenv.sh $JPP_DIR
15
16set_variable: DEBUG COMPASS_DEBUG 2
17
18if do_usage $*; then
19 usage "$script <detector file>"
20fi
21
22if (( $# != 1 )); then
23 fatal "Wrong number of parameters."
24fi
25
26set_variable DETECTOR $argv[1]
27
28eval `JPrintDetector -a $DETECTOR -O HEADER`
29
30if (( $DEBUG >= 3 )); then
31 echo $DETECTOR
32 JPrintDetector -a $DETECTOR -O header
33fi
34
35notice makedeclinationtable.py $UTM_EAST $UTM_NORTH ${UTM_ZONE//[^0-9]/} ${UTM_ZONE//[0-9]/}
36
37makedeclinationtable.py $UTM_EAST $UTM_NORTH ${UTM_ZONE//[^0-9]/} ${UTM_ZONE//[0-9]/}