Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JConvertAcoustics.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2script=${0##*/}
3
4if [ -z $JPP_DIR ]; then
5 echo "Variable JPP_DIR undefined."
6 exit
7fi
8
9source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
10
11set_variable: DEBUG ACOUSTICS_DEBUG 2
12set_variable: TYPE ACOUSTICS_TYPE JEvent
13
14if do_usage $*; then
15 usage "$script (input file)+ <output file>"
16fi
17
18if (( $# < 2 )); then
19 fatal "Wrong number of arguments."
20fi
21
22set_array INPUT_FILES $argv[1,-2]
23set_variable OUTPUT_FILE $argv[-1]
24
25JConvertAcoustics \
26 -f${^INPUT_FILES} \
27 -o $OUTPUT_FILE \
28 -C $TYPE \
29 -d $DEBUG --!