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
24 set_variable WORKDIR /tmp/
26 if ( do_usage $* ); then
27 usage "$script [working directory]"
35 OUTPUT_FILE=$WORKDIR/light.root
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" \