3 #--------------------------------------------------------------------------------------
5 # Utility script for generation of HTML Doxygen main page.
7 #--------------------------------------------------------------------------------------
12 if [ -z $JPP_DIR ];
then
13 echo "Variable JPP_DIR undefined."
17 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
30 find $* -mindepth 1 -executable ! -regex
".*\.\(\(\|c\|z\)sh\|py\)" -printf
"%f\n" | sort
36 find $* -mindepth 1 -executable -regex
".*\.\(\(\|c\|z\)sh\|py\)" -printf
"%f\n" | sort
42 find $* -mindepth 1 -executable | sort
46 # Method to get file name of source code.
48 # \param 1 executable file
56 if [[ $file == *\.((|
c|z)sh|py) ]];
then
59 source=`${
file} -
v 2> /dev/
null | sed -
n 's/source: *//p'`
70 echo " * \mainpage Documentation"
73 echo " * ul.b { list-style-type: none; counter-reset: section; columns: ${NUMBER_OF_COLUMNS}; -moz-column-count: ${NUMBER_OF_COLUMNS}; -webkit-column-count: ${NUMBER_OF_COLUMNS}; column-count: ${NUMBER_OF_COLUMNS}; }"
79 echo " * <h2>Documents</h2>"
80 echo " * <ul class=\"b\">"
83 }\
">${file##*/}</a></li>"
92 echo " * <h2>Applications</h2>"
93 echo " * <ul class=\"b\">"
95 echo " * <li><a href=\"#${file}\">${file}</a></li>"
103 echo " * <h2>Scripts</h2>"
104 echo " * <ul class=\"b\">"
106 echo " * <li><a href=\"#${file}\">${file}</a></li>"
114 echo " * <h2>Examples</h2>"
115 echo " * <ul class=\"b\">"
116 for dir
in `ls $JPP_DIR/examples`;
do
117 echo " * <li><a href=\"#examples/${dir}\">${dir}</a></li>"
129 echo " * <h4 id=\"${file}\">"
130 if [[ -
n "${source}" ]];
then
131 if (`ls $JPP_DIR/examples
then usage $script[< detector identifier >< run range >]< QA/QCfile > nExample script to produce data quality plots nWhen a detector identifier and run range are data are downloaded from the database nand subsequently stored in the given QA QC file
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
*fatal Wrong number of arguments esac notice which
$WORKDIR ev_configure_dqsimulator txt echo process $DQ_SIMULATOR $i $SOURCE_HOST[$index] csh c(setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&($DQ_SIMULATOR\-u\$NAME\$\-H\$SERVER\$\-M\$LOGGER\$\-d $DEBUG</dev/null > &/dev/null &))'
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
static JNullStream null
Null I/O stream.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null if do_usage *then usage $script fi setopt o nomatch set_variable NUMBER_OF_COLUMNS function findapps()