Jpp  15.0.1-rc.1-highQE
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
hydrophone-phi:run.sh File Reference

Go to the source code of this file.

Functions

then usage $script< string
identifier >< detectorfile >
event 
file (toashort file)+" "\nNote that the event files and toashort files should be one-to-one related." fi if (( $
 
< 4||${#}%2!=0));thenfatal"Wrongnumberofarguments."filetN="(${#}-2)/2"set_variableSTRING
$argv[1]set_variableDETECTOR
$argv[2]set_arrayINPUT_FILES
$argv[3, 2+$N]set_arrayTOASHORT_FILES
$argv[-$N,-1]eval`JPrintDetector-a
$DETECTOR-OIDENTIFIER`eval`JPrintDetector-a
$DETECTOR-OSUMMARY`sourceJAcoustics.sh
$DETECTOR_IDCHECK_EXIT_CODEtypeset-ATRIPODSget_tripods
$WORKDIR/tripod.txtTRIPODSif((${#TRIPODS}
< 2));thenfatal"Notenoughtripods"${#TRIPODS}figetModule-a
$DETECTOR-L"$STRINGS[1]0">
&dev null 
if (($?!=0))
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null zmodload zsh
mathfunc 
set_variable
 
then JCookie sh JDetectorDB a
$DETECTOR o $DETECTOR W!fi 
if [[-z"${STRINGS[(r)$STRING]}"]]
 
then fatal Invalid string $STRING
 
possible values
 

Function Documentation

then usage $script<string identifier><detectorfile> event file ( toashort  file)

Definition at line 18 of file hydrophone-phi:run.sh.

22  {#} < 4 || ${#}%2 != 0 )); then
<4||${#}%2!=0));thenfatal"Wrongnumberofarguments."filetN="(${#}-2)/2"set_variableSTRING$argv[1]set_variableDETECTOR$argv[2]set_arrayINPUT_FILES$argv[3,2+$N]set_arrayTOASHORT_FILES$argv[-$N,-1]eval`JPrintDetector-a$DETECTOR-OIDENTIFIER`eval`JPrintDetector-a$DETECTOR-OSUMMARY`sourceJAcoustics.sh$DETECTOR_IDCHECK_EXIT_CODEtypeset-ATRIPODSget_tripods$WORKDIR/tripod.txtTRIPODSif((${#TRIPODS}<2));thenfatal"Notenoughtripods"${#TRIPODS}figetModule-a$DETECTOR-L"$STRINGS[1]0"> & dev null if ( ($?!=0)  )

Variable Documentation

script
Initial value:
=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 2 of file hydrophone-phi:run.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null zmodload zsh mathfunc set_variable

Definition at line 17 of file hydrophone-phi:run.sh.

then JCookie sh JDetectorDB a $DETECTOR o $DETECTOR W ! fi if[[-z"${STRINGS[(r)$STRING]}"]]

Definition at line 60 of file hydrophone-phi:run.sh.

then fatal Invalid string $STRING

Definition at line 61 of file hydrophone-phi:run.sh.

possible values

Definition at line 72 of file hydrophone-phi:run.sh.