4SM shallow water column correction: 
demonstration using a CASI image

from import of raw data all the way to seatruth


 
1 - NO NEED for field data, nor for atmospheric correction
2 - this is demonstrated in this website, using a variety of hyper/multi spectral data
 
Requirements are
1 - homogeneous water body and atmosphere
2 - some coverage of optically deep water
3 - some coverage of dry land
 
Problems are
1 - the precision on estimated depth is found wanting, because the noise-equivalent change in radiance  of accessible data is too high for shallow water column correction work 
2 - radiance data should be preprocessed by the provider at level 1 in order to improve S/N ratio
3 - exponential decay: the deeper/darker the bottom, the poorer the performances
 
So
I keep digging
until suitable data
become available
 



Install
Install your Ubuntu Linux 4SM workstation


tune your ubuntu setting:
 

Get OpenEV to work on an AMD64 machine
  • OpenEV is a 32 bits executable, runs "out of the box" on an X86 machine
  • launching OpenEV on my AMD64 machine returned error
  • I visited this askubuntu link
    • "What you want on a 64-bit system is to install the necessary 32-bit dependencies around your 32-bit application, so that it will be able to detect and use the already existing lib..."
  • I ran "sudo apt-get install libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386"
    • et voila: problem solved, OpenEV works!!!
  • 2016 august : I failed to upgrade to Ubuntu version 16 LTS
    • could not get OpenEV to work, problems compiling with gcc
    • had to go back to version 14 LTS: back to work fine, both OpenEV and compiler!!
For Google Earth 64 bits
I followed scouser73 at    http://ubuntuforums.org/showthread.php?t=2162443&p=12819438#post12819438
does not work properly, crashes
  • Customize your desktop environment in textfile  "gedit /home/your_username/.bashrc"
    • by adding the following:
PATH="$PATH:./:./4sm.calls"
PATH="$PATH:/your_install_path_to/FWTools-2.0.6/bin_safe "
export PATH MANPATH

alias dir="           ls -l    -k --color "
alias te="             gedit "
alias mv="            mv -i  " 
alias cp="            cp -i  "
alias rm="            rm -i  " 
alias openev="     your_install_path_to/FWTools-2.0.6/bin_safe/openev -h &" 
alias chrome="     /opt/google/chrome/chrome &"
Install your working directory
Install data from me
  • HYPHOON is the work directory, with four sub-directories
    • HYPHOON/data
      • contains the image data file HeronReef_2002_CASI_hyperspectral_v00.pix exported from HeronReef_2002_CASI_hyperspectral_v00.dat in ENVI format
    • HYPHOON/seatruth
      • contains the seatruth DTM: this is the retrieved depth HeronReef_2002_BATHY_derived_subset.pix subsetted and exported from HeronReef_2002_BATHY_derived_v00.dat in ENVI format
    • HYPHOON/4sm.calls
      • contains GMT and other executables
    • HYPHOON/OPF: contains a copy of two OpenEV project files, for safety:
      • heron_20020702p.opf
      • heron_20020702p_classification.opf



 
Binary
X86 machine
4SM.4.20 executable is a 32 bits binary

which executes on 32 bits (and 64 bits) machines
  • it is included in HYPHOON.zip
  • it was compiled on my 32 bits Ubuntu install on my old X86 machine:
  • "gcc -lm  -w -g  4SM.4.20.c -lm -o 4SM.4.210"
If you execute it on an AMD64 install,
first you need to install the 32 bits libraries:
"sudo apt-get install gcc-multilib"
 
AMD64 machine
4SM.4.21 executable is a 32 bits binary

which executes on (32 bits and) 64 bits machines
  • it is included in 4SM.4.21.zip
    • along with heron_20020702p.sh script
  • it was compiled on my 64 bits Ubuntu install on my new AMD64 machine
  • I had to install the 32 bits libraries before compiling:
  • "sudo apt-get install gcc-multilib"
  • "gcc -lm  -w -m32 -g  4SM.4.21.c -lm -o 4SM.4.21"
  • I noted that bash commands must be invoked using the "./" prefix (see new script):
    • ./heron_20020702p.sh
    • ./4SM
Install bits & pieces from me in the work directory
  • All files: must be owned by the user: use chown and chgrp as appropriate
  • 4sm.calls another sub-directory which contains
  • 4SM script heron_20020702p.sh
  • 4SM.4.20 executable code
  • Make them executable
    • "chmod a+x       ./4SM.4.20        ./heron_20020702p.sh       ./4sm.call/*"
  • Create a symbolic link
    •  "ln -s      ./4SM.4.20  4SM"
Once all done, run "./4SM" at the command line, just like that:
  • Problems arise if 4SM calls are not "executable"
  • 4SM shall check your installation for you, and signal if something wrong
    • launch "openev -h &
    • launch "gedit"
    • launch "gv"
    • launch "shp2txt"
    • launch "gmtset"
    • launch "psbasemap"
    • launch "psxy"
    • launch "pstext"
    • launch "psscale"




 


4SM script
heron_20020702p.sh 

if needed, you can copy it from below
into a gedit text file to be named heron_20020702p.sh and made executable
 

This is a copy of my last script: should work OK
It is included in HYPHOON.zip dated May 2nd 2014

 
 



 
OpenEV: I did manage twice to have OpenEV working under Ubuntu 16 LTS, 
do not know for sure what did the trick,
and unable to reproduce that result.
So there is good reason for hope.

 
4SM.4.21: So you set out to run the HYPHOON Heron Island CASI demonstration on an amd64 machine.
When you run "4SM.4.21" it checks for OpenEV, gv, etc to be available.
You can answer Yes at every step, even if No is the proper answer.
Install gv from the internet, as it is no longer available through Ubuntu Software center in Ubuntu 16 LTS.
When you run the script, 4SM skips all these checks and goes straight to the demo.
./4SM stands for symbolic link to ./4SM.4.21
Please disable:  @-Archive/Full/zip
otherwise it shall stubornly erase the database and compress everything, then stop!
Please end with exit, 
so that it stops when finished importing the raw data.
 
#DEMOflag=1-------------DEMOflag=1-------------DEMOflag=1-------------DEMOflag=1-------------DEMOflag=1-------------
#Create and load the database++++++++++++++Then run the AutoCalibrator++++++++++++++++++++++++++
#/home/ymorel/4SM/compile.sh 
nice -20  ./4SM  -Process/nosu/@nowww/kill/Demo1 -Origin/HYPHOON                                        
@Call/texteditor_gedit/epsviewer_gv/browser_chrome      @-Archive/Full/zip                                
-DB/heron_20020702p/70_3S_17S_0s/17_74/6949_5174/387.5044_7408.8502_500_10000/1_1                            
-Mis/Australia/HeronIsland/CASI/17bands/HYPHOON/BOA/UTM_-56_008/0.001_-0.001/02_JUL_2002                        
-MakePIX/Import/Scale/AutoCAL    @-Prepare/Scale                                                
-Import/data*HeronReef_2002_CASI_hyperspectral_v00/dbnc_0_19S_0S_0s/R6949_L5174/Origin_387.5039_7408.8507_0_0/chIn1,17/chOut74,90 
 
exit
 
This should build the working database, 
Then import the raw data in 17 16U_channels 74 to 90,
Then stop.


#4SM Demo on CASI at HERON ISLAND++++++++++4SM Demo on CASI at HERON ISLAND++++++++++
#PANCHRO+++++PANCHRO+++++PANCHRO+++++PANCHRO+++++PANCHRO+++++PANCHRO+++++PANCHRO+++++
#bands 18 & 19 are rotten

#DEMOflag=1-------------DEMOflag=1-------------DEMOflag=1-------------DEMOflag=1-------------DEMOflag=1-------------
#Create and load the database++++++++++++++Then run the AutoCalibrator++++++++++++++++++++++++++

#/home/ymorel/4SM/compile.sh 
nice -20  ./4SM  -Process/nosu/@nowww/kill/Demo1 -Origin/HYPHOON                                        
@Call/texteditor_gedit/epsviewer_gv/browser_chrome      -Archive/Full/zip                                
-DB/heron_20020702p/70_3S_17S_0s/17_74/6949_5174/387.5044_7408.8502_500_10000/1_1                            
-Mis/Australia/HeronIsland/CASI/17bands/HYPHOON/BOA/UTM_-56_008/0.001_-0.001/02_JUL_2002                        
-MakePIX/Import/Scale/AutoCAL    @-Prepare/Scale                                                
-Import/data*HeronReef_2002_CASI_hyperspectral_v00/dbnc_0_19S_0S_0s/R6949_L5174/Origin_387.5039_7408.8507_0_0/chIn1,17/chOut74,90     
@Import/seatruth*HeronReef_2002_BATHY_derived_subset/dbnc_0_0S_0S_1S/R6949_L5174/Origin_387.5049_7408.8507_0_0/chIn1/chOut72         
-SCL00408/00451/00485/00521/00542/00566/00585/00587/00575/00541/00442/00432/00429/00360/00336/00500/00313        
-LS030000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000        
-LsT0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-WLM449.3/469.8/488.3/508.8/523.8/538.8/555.7/568.9/580.2/600.9/614.9/629.4/648.4/666.9/679.9/694.9/709.0        
-WLm428.7/449.1/469.4/488.0/508.4/523.4/538.5/559.2/568.6/591.1/605.1/619.6/638.6/655.2/670.1/685.1/701.1        
-dK00.000/0.000/0.000/0.000/0.000/0.000/0.000/-.020/-.020/-.070/0.000/0.000/0.000/0.000/0.030/0.000/0.000        
@dK00.000/0.000/0.000/0.000/0.000/0.000/0.000/-.020/-.020/-.070/0.000/0.000/0.000/0.000/0.030/0.000/0.000        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@M/@00001/@0002/@0003/@0004/@0005/@0006/00007/@0008/@0009/@0010/@0011/@0012/@0013/@0014/00015/00016/00017        
-LsM488.2/466.6/450.1/430.2/427.3/427.2/430.4/425.3/428.6/434.6/431.6/431.9/427.9/433.8/438.2/450.2/468.2        
-Lsw025.5/024.7/024.0/021.0/013.6/011.5/008.0/007.1/005.2/003.5/002.2/002.1/002.3/002.6/003.0/006.2/002.8        
-dLa002.0/002.0/002.0/002.0/002.0/002.0/002.0/002.9/002.0/002.0/002.0/002.1/002.3/002.6/003.0/004.2/002.8        
@Lw0023.5/022.7/022.0/019.0/011.6/009.5/006.0/004.2/003.2/001.5/000.2/000.0/000.0/000.0/000.0/002.0/000.0        
@Lm/001.0/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/001.0/253.0        
-Lm/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/005.0/001.5/253.5        
-KK3_7_0.620/Knir1.95/Bm400_BG520_GR590_RN700/mask_4                    
-Z/LAT-0.20d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
@Z/MSL00.00d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
-B/tclNe/cNorm5.0/Bmin0/cLM1                                   
@deglint/vRbaD/GlintM10                                    
-extract/v/RawBDH/FullBDH/NIRband17/NIRmax500/mapBPL/mBPL2                 
-calibrate/Va/BdSMpzg/plot_BPL/BC_17_13_7_3/BDh_12_13_34                
-model/v/runWV2/makeClouds/mask_3                               
-Smooth/5/D/Csmooth7/Smart+     -Tpsv/3/16/text/Bmin150/panCode1                
@-E1/6949/2000/5174    @-DNshp     @-DDshp  -LL10     @-Eshp                    
-Classify/typerp_1.05/Classifier_4_0_scef_LastChType7/mode_5_24_33            
-RegressZZ/v/p/DTM_1/0.001_0_0/1.000_0.0/ZR/6_14/0_201/0_50_50/*              
-AutoCAL/print_2_3/GT200/mapBPL/MakeNewMask/Land_5_1.7_17/getGlint/glintM10.0/clouds    
@Recode/1_InChannel_18_into_2_OutChannel_18                        

#exit

#DEMOflag=5-------------DEMOflag=5-------------DEMOflag=5-------------DEMOflag=5-------------DEMOflag=5-------------
#AutoCalibrator: make mask mSE----------AutoCalibrator: make mask mSE----------AutoCalibrator: make mask mSE

#
/home/ymorel/4SM/compile.sh 
nice -20  ./4SM  -Process/nosu/@nowww/kill/Demo5 -Origin/HYPHOON                                        
@Call/texteditor_gedit/epsviewer_gv/browser_chrome      @-Archive/Full/zip                                
-DB/heron_20020702p/70_3S_17S_0s/17_74/6949_5174/387.5044_7408.8502_500_10000/1_1                            
-Mis/Australia/HeronIsland/CASI/17bands/HYPHOON/BOA/UTM_-56_008/0.001_-0.001/02_JUL_2002                        
-MakePIX/Import/Scale/AutoCAL    @-Prepare/Scale                                                
-Import/data*HeronReef_2002_CASI_hyperspectral_v00/dbnc_0_19S_0S_0s/R6949_L5174/Origin_387.5039_7408.8507_0_0/chIn1,17/chOut74,90     
@Import/seatruth*HeronReef_2002_BATHY_derived_subset/dbnc_0_0S_0S_1S/R6949_L5174/Origin_387.5049_7408.8507_0_0/chIn1/chOut72         
-SCL00408/00451/00485/00521/00542/00566/00585/00587/00575/00541/00442/00432/00429/00360/00336/00500/00313        
-LS030000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000        
-LsT0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-WLM449.3/469.8/488.3/508.8/523.8/538.8/555.7/568.9/580.2/600.9/614.9/629.4/648.4/666.9/679.9/694.9/709.0        
-WLm428.7/449.1/469.4/488.0/508.4/523.4/538.5/559.2/568.6/591.1/605.1/619.6/638.6/655.2/670.1/685.1/701.1        
-dK00.000/0.000/0.000/0.000/0.000/0.000/0.000/-.020/-.020/-.070/0.000/0.000/0.000/0.000/0.030/0.000/0.000        
@dK00.000/0.000/0.000/0.000/0.000/0.000/0.000/-.020/-.020/-.070/0.000/0.000/0.000/0.000/0.030/0.000/0.000        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@M/@00001/@0002/@0003/@0004/@0005/@0006/00007/@0008/@0009/@0010/@0011/@0012/@0013/@0014/00015/00016/00017        
-LsM488.2/466.6/450.1/430.2/427.3/427.2/430.4/425.3/428.6/434.6/431.6/431.9/427.9/433.8/438.2/450.2/468.2        
-Lsw025.5/024.7/024.0/021.0/013.6/011.5/008.0/007.1/005.2/003.5/002.2/002.1/002.3/002.6/003.0/006.2/002.8        
-dLa002.0/002.0/002.0/002.0/002.0/002.0/002.0/002.9/002.0/002.0/002.0/002.1/002.3/002.6/003.0/004.2/002.8        
@Lw0023.5/022.7/022.0/019.0/011.6/009.5/006.0/004.2/003.2/001.5/000.2/000.0/000.0/000.0/000.0/002.0/000.0        
@Lm/001.0/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/001.0/253.0        
-Lm/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/005.0/001.5/253.5        
-KK3_7_0.620/Knir1.95/Bm400_BG520_GR590_RN700/mask_4                    
-Z/LAT-0.20d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
@Z/MSL00.00d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
-B/tclNe/cNorm5.0/Bmin0/cLM1                                   
@deglint/vRbaD/GlintM10                                    
-extract/v/RawBDH/FullBDH/NIRband17/NIRmax500/mapBPL/mBPL2                 
-calibrate/Va/BdSMpzg/plot_BPL/BC_17_13_7_3/BDh_12_13_34                
-model/v/runWV2/makeClouds/mask_3                               
-Smooth/5/D/Csmooth7/Smart+     -Tpsv/3/16/text/Bmin150/panCode1                
@-E1/6949/2000/5174    @-DNshp     @-DDshp  -LL10     @-Eshp                    
-Classify/typerp_1.05/Classifier_4_0_scef_LastChType7/mode_5_24_33            
-RegressZZ/v/p/DTM_1/0.001_0_0/1.000_0.0/ZR/6_14/0_201/0_50_50/*              
-AutoCAL/print_2_3/GT200/mapBPL/MakeNewMask/Land_5_1.7_17/getGlint/glintM10.0/clouds    
@Recode/1_InChannel_18_into_2_OutChannel_18                        

#exit

#DEMOflag=7------------DEMOflag=7------------DEMOflag=7------------DEMOflag=7------------DEMOflag=7
#Extractor_Calibrator_Typer_Modeler        Extractor_Calibrator_Typer_Modeler                    

#/home/ymorel/4SM/compile.sh 
nice -20  ./4SM  -Process/nosu/@nowww/kill/Demo7 -Origin/HYPHOON                                        
@Call/texteditor_gedit/epsviewer_gv/browser_chrome      @-Archive/Full/zip                                
-DB/heron_20020702p/70_3S_17S_0s/17_74/6949_5174/387.5044_7408.8502_500_10000/1_1                            
-Mis/Australia/HeronIsland/CASI/17bands/HYPHOON/BOA/UTM_-56_008/0.001_-0.001/02_JUL_2002                        
-MakePIX/Import/Scale/AutoCAL                    @-Prepare/Scale                                
@Import/data*HeronReef_2002_CASI_hyperspectral_v00/dbnc_0_19S_0S_0s/R6949_L5174/Origin_387.5039_7408.8507_0_0/chIn1,17/chOut74,90     
-Import/seatruth*HeronReef_2002_BATHY_derived_subset/dbnc_0_0S_0S_1S/R6949_L5174/Origin_387.5049_7408.8507_0_0/chIn1/chOut72         
-SCL00408/00451/00485/00521/00542/00566/00585/00587/00575/00541/00442/00432/00429/00360/00336/00500/00313        
-LS030000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000        
-LsT0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-WLM449.3/469.8/488.3/508.8/523.8/538.8/555.7/568.9/580.2/600.9/614.9/629.4/648.4/666.9/679.9/694.9/709.0        
-WLm428.7/449.1/469.4/488.0/508.4/523.4/538.5/559.2/568.6/591.1/605.1/619.6/638.6/655.2/670.1/685.1/701.1        
-dK00.000/0.000/0.000/0.000/0.000/0.000/0.000/-.020/-.020/-.070/0.000/0.000/0.000/0.000/0.030/0.000/0.000        
@dK00.000/0.000/0.000/0.000/0.000/0.000/0.000/-.020/-.020/-.070/0.000/0.000/0.000/0.000/0.030/0.000/0.000        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@M/@00001/@0002/@0003/@0004/@0005/@0006/00007/@0008/@0009/@0010/@0011/@0012/@0013/@0014/00015/00016/00017        
-LsM488.2/466.6/450.1/430.2/427.3/427.2/430.4/425.3/428.6/434.6/431.6/431.9/427.9/433.8/438.2/450.2/468.2        
-Lsw025.5/024.7/024.0/021.0/013.6/011.5/008.0/007.1/005.2/003.5/002.2/002.1/002.3/002.6/003.0/006.2/002.8        
-dLa002.0/002.0/002.0/002.0/002.0/002.0/002.0/002.9/002.0/002.0/002.0/002.1/002.3/002.6/003.0/004.2/002.8        
@Lw0023.5/022.7/022.0/019.0/011.6/009.5/006.0/004.2/003.2/001.5/000.2/000.0/000.0/000.0/000.0/002.0/000.0        
@Lm/001.0/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/001.0/253.0        
-Lm/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/005.0/001.5/253.5        
-KK3_7_0.620/Knir1.95/Bm400_BG520_GR590_RN700/mask_4                    
-Z/LAT-0.20d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
@Z/MSL00.00d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
-B/tclNe/cNorm5.0/Bmin0/cLM1                                   
@deglint/vRbaD/GlintM10                                    
-extract/v/RawBDH/FullBDH/NIRband17/NIRmax500/mapBPL/mBPL2                 
-calibrate/Va/BdSMpzg/plot_BPL/BC_17_13_7_3/BDh_12_13_34                
-model/v/runWV2/makeClouds/mask_3                               
-Smooth/5/D/Csmooth7/Smart+     -Tpsv/3/16/text/Bmin150/panCode1                
@-E1/6949/2000/5174    @-DNshp     @-DDshp  -LL10     @-Eshp                    
-Classify/typerp_1.05/Classifier_4_0_scef_LastChType7/mode_5_24_33            
-RegressZZ/v/p/DTM_1/0.001_0_0/1.000_0.0/ZR/6_14/0_201/0_50_50/*              
-AutoCAL/print_2_3/GT200/mapBPL/MakeNewMask/Land_5_1.7_17/getGlint/glintM10.0/clouds    
@Recode/1_InChannel_18_into_2_OutChannel_18                        

#exit

#DEMOflag=12------------DEMOflag=12------------DEMOflag=12------------DEMOflag=12------------DEMOflag=12
#Plot Pan calibration, PanModeling, DTM_Seatruth            Plot Pan calibration, PanModeling, DTM_Seatruth

#/home/ymorel/4SM/compile.sh 
nice -20  ./4SM  -Process/nosu/@nowww/kill/Demo12 -Origin/HYPHOON                                        
@Call/texteditor_gedit/epsviewer_gv/browser_chrome      @-Archive/Full/zip                                
-DB/heron_20020702p/70_3S_17S_0s/17_74/6949_5174/387.5044_7408.8502_500_10000/1_1                            
-Mis/Australia/HeronIsland/CASI/17bands/HYPHOON/BOA/UTM_-56_008/0.001_-0.001/02_JUL_2002                        
-MakePIX/Import/Scale/AutoCAL                    @-Prepare/Scale                                
@Import/data*HeronReef_2002_CASI_hyperspectral_v00/dbnc_0_19S_0S_0s/R6949_L5174/Origin_387.5039_7408.8507_0_0/chIn1,17/chOut74,90     
-Import/seatruth*HeronReef_2002_BATHY_derived_subset/dbnc_0_0S_0S_1S/R6949_L5174/Origin_387.5049_7408.8507_0_0/chIn1/chOut72         
-SCL00408/00451/00485/00521/00542/00566/00585/00587/00575/00541/00442/00432/00429/00360/00336/00500/00313        
-LS030000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000/30000        
-LsT0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0/0-1.0        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-WLM449.3/469.8/488.3/508.8/523.8/538.8/555.7/568.9/580.2/600.9/614.9/629.4/648.4/666.9/679.9/694.9/709.0        
-WLm428.7/449.1/469.4/488.0/508.4/523.4/538.5/559.2/568.6/591.1/605.1/619.6/638.6/655.2/670.1/685.1/701.1        
-dK00.000/0.000/0.000/0.000/0.000/0.000/0.000/-.020/-.020/-.070/0.000/0.000/0.000/0.000/0.030/0.000/0.000        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@WL/439.0/459.5/478.9/498.4/516.1/531.1/547.1/564.0/574.4/596.0/610.0/624.5/643.5/661.0/675.0/690.0/705.0        
-M/@00001/@0002/@0003/@0004/@0005/@0006/00007/00008/00009/00010/00011/00012/00013/00014/00015/00016/00017        
@M/@00001/@0002/@0003/@0004/@0005/@0006/00007/@0008/@0009/@0010/@0011/@0012/@0013/@0014/00015/00016/00017        
-LsM488.2/466.6/450.1/430.2/427.3/427.2/430.4/425.3/428.6/434.6/431.6/431.9/427.9/433.8/438.2/450.2/468.2        
-Lsw025.5/024.7/024.0/021.0/013.6/011.5/008.0/007.1/005.2/003.5/002.2/002.1/002.3/002.6/003.0/006.2/002.8        
-dLa002.0/002.0/002.0/002.0/002.0/002.0/002.0/002.9/002.0/002.0/002.0/002.1/002.3/002.6/003.0/004.2/002.8        
@Lw0023.5/022.7/022.0/019.0/011.6/009.5/006.0/004.2/003.2/001.5/000.2/000.0/000.0/000.0/000.0/002.0/000.0        
@Lm/001.0/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/001.0/253.0        
-Lm/001.0/001.0/001.0/001.0/001.0/001.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/003.0/005.0/001.5/253.5        
-KK3_7_0.620/Knir1.95/Bm400_BG520_GR590_RN700/mask_4                    
-Z/LAT-0.20d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
@Z/MSL00.00d/cSL1.5/N_4/sIG_14/nDR_73_1000_zDTM/no_mask                    
-B/tclNe/cNorm5.0/Bmin0/cLM1                                   
@deglint/vRbaD/GlintM10                                    
-extract/v/RawBDH/FullBDH/NIRband17/NIRmax500/mapBPL/mBPL2                 
-calibrate/Va/BdSMpzg/plot_BPL/BC_17_13_7_3/BDh_12_13_34                
-model/v/runWV2/makeClouds/mask_3                               
-Smooth/5/D/Csmooth7/Smart+     -Tpsv/3/16/text/Bmin150/panCode1                
@-E1/6949/2000/5174    @-DNshp     @-DDshp  -LL10     @-Eshp                    
-Classify/typerp_1.05/Classifier_4_0_scef_LastChType7/mode_5_24_33            
-RegressZZ/v/p/DTM_1/0.001_0_0/1.000_0.0/ZR/6_14/0_201/0_50_50/*              
-AutoCAL/print_2_3/GT200/mapBPL/MakeNewMask/Land_5_1.7_17/getGlint/glintM10.0/clouds    
@Recode/1_InChannel_18_into_2_OutChannel_18                        

exit
#END of demonstration+++++++++END of demonstration+++++++++

 
 
Choose your browser in command line
-Call/texteditor_gedit/epsviewer_gv/browser_chrome    default is /opt/google/chrome/chrome
-Call/texteditor_gedit/epsviewer_gv/browser_firefox      shall use Firefox instead
 
@nowww this demo will use your browser to bring up demo displays.
   nowww in order to disable this feature you must remove the @ in the script