9 if [ -z $JPP_DIR ]; then
 
   10     echo "Variable JPP_DIR undefined."
 
   14 source $JPP_DIR/setenv.sh $JPP_DIR
 
   16 set_variable:  DEBUG  COMPASS_DEBUG  2
 
   19     usage "$script <detector file>"
 
   22 if (( $# != 1 )); then
 
   23     fatal "Wrong number of parameters."
 
   26 set_variable     DETECTOR                $argv[1]
 
   28 eval `JPrintDetector -a $DETECTOR -O HEADER`
 
   30 if (( $DEBUG >= 3 )); then
 
   32     JPrintDetector -a $DETECTOR -O header
 
   35 get_convergence_angle.py $UTM_EAST $UTM_NORTH ${UTM_ZONE//[^0-9]/} ${UTM_ZONE//[0-9]/}