4 if [ -z $JPP_DIR ];
then
5 echo "Variable JPP_DIR undefined."
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
14 usage "$script <detector identifer> <run> <output file>"
17 if (( $# != 3 ));
then
18 fatal
"Wrong number of arguments."
38 JEditDetector -
a $OUTPUT_FILE -M
"-1 reset" -
o $OUTPUT_FILE --!
39 JConstructDetector -
a $OUTPUT_FILE -
f$WORKDIR/${^CALIBRATION}.txt -
o $OUTPUT_FILE --!
then usage $script< detector identifier >< startdate\"YYYY-MM-DDHH:MM:SS\"><finaldate\"YYYY-MM-DDHH:MM:SS\"><QA/QCfile> fi case set_variable QAQC_TXT $argv[4]
then usage $script< directory A >< directoryB > nIn each there should be a file detector datx and tripod txt
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O SUMMARY JPrintDAQHeader f $INPUT_FILE read A DAQ_HEADER set_variable DETECTOR_ID
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
usr share Modules init zsh export TMPDIR
then fatal Wrong number of arguments fi set_variable ARCHIVE $argv[1] set_variable ID $argv[2] set_variable VERSION $argv[3] source JAcousticsToolkit sh RUN
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
&set_variable OUTPUT_FILE
then JCookie sh JDataQuality D $DETECTOR_ID R
fi set_variable FILENAME $WORKDIR
do echo Generating $dir eval D
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null