8 # ------------------------------------------------------------------------------------------ 
   10 #                         Utility script to plot optical properties of sea water. 
   12 # ------------------------------------------------------------------------------------------ 
   15 if [ -z $JPP_DIR ]; 
then 
   16     echo "Variable JPP_DIR undefined." 
   21 source $JPP_DIR/setenv.sh $JPP_DIR
 
   26 if ( do_usage $* ); 
then 
   27     usage "$script [working directory]" 
   42     -
f ${OUTPUT_FILE}:abs                 \
 
   45     -\^ 
"#lambda_{abs} [m]"               \
 
   50     -
f ${OUTPUT_FILE}:scat                \
 
   53     -\^ 
"#lambda_{scat} [m]"              \
 
   58     -
f ${OUTPUT_FILE}:vp                  \
 
   66     -
f ${OUTPUT_FILE}:vg                  \
 
   74     -
f ${OUTPUT_FILE}:Ps                  \
 
   77     -\^ 
"d^{2}P/dcos(#theta)d#phi"        \
 
void set_variable(const std::string &name, const std::string &value)
Set environment variable. 
 
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
 
do montage tile geometry tmp
 
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
 
#define DEBUG(A)
Message macros.