In this exercise, you will learn seismic data processing using Seismic Un*x (hereafter SU).
Reference sites:
To execute the exercise, the following network environments are recommended.
If you do not have an account on 'daikoku', please ask the instructor.
You can install SU in your Unix environment, including PC Unix such as cygwin, any virtual machine such as VMware and VirtualBox, and WSL available only after Windows 10, if you find it useful. Install is fairly easy. Please consult the instructor if interested.
Login 'daikoku' via ssh,
$ ssh -X username@daikoku.seis.nagoya-u.ac.jp $ ssh -X username@daikokuHere "username" is your username.
Set the following environment variables before using SU.
from here --------- export CWPROOT=/usr/local/cwp export PATH=$CWPROOT/bin:$PATH --------- till hereAppend the above description to "~/.bashrc" using an editor (vi, Emacs, etc.)
$ vi ~/.bashrc $ emacs ~/.bashrc &
Or, add the above settings using below.
$ mv ~/.bashrc .bashrc.bak $ cat .bashrc.bak /export/watanabe/exercise/dot.bashrc.add > ~/.bashrc
Make sure that the setting was made.
$ cat ~/.bashrcReflect the new settings.
$ source ~/.bashrcThen, make sure that the environment variables "CWPROOT" and "PATH" are properly set.
$ printenv
from here --------- setenv CWPROOT /usr/local/cwp setenv PATH $CWPROOT/bin:$PATH --------- till hereAppend the above description to "~/.cshrc" and execute "source ~/.cshrc".
Make sure that the setting was renewed.
$ cat ~/.cshrcReflect the new settings.
$ source ~/.cshrcThen, make sure that the environment variables "CWPROOT" and "PATH" are properly set.
$ setenv
These environment variables will be automatically set after you open new shells or from your next login. However, sometimes your setting will not work due to your way of access to the server. If you fail to execute SU commands (An error message, "command not found" appears), be sure to check these environment variables are properly set and if not, execute the "source" command manually.
daikoku.seis.nagoya-u.ac.jp:/export/watanabe/exercise
Copy the data and the scripts in the directory to your working directory.
$ mkdir exercise (or any directory you like for this exercise) $ cd excercise (move into the directory) $ cp /export/watanabe/exercise/demo*.su . (copy the demo files) $ cp /export/watanabe/exercise/*.sh . (copy scripts) $ cp /export/watanabe/exercise/*.par . (copy parameter file for a script) $ ln -s /export/watanabe/exercise/Nshots.su Nshots.su (create a link to datafile) $ ln -s /export/watanabe/exercise/Nstack.su Nstack.su (create a link to datafile)'*' represents any character, therefore, multiple files are copied.
If you are not using "daikoku", please ask the instructor.
$ su-command opt1=value1 opt2=value2 .... (options) < input-data > output-data $ su-command opt1=value1 opt2=value2 .... (options) < input-data | next-process ... > output-data $ previous-process | su-command opt1=value1 opt2=value2 .... (options) | next-process ...(Tip) The usage of a command is displayed when you type the command without any option. You can learn how to use the command.
Execute the following commands and be sure to check that you can see a brief help on these commands.
$ suplane $ suxwigb $ xwigb $ suximage $ ximage
Execute the following commands and be sure to check that you can see some plots come up properly.
$ suplane | suxwigb & $ suplane | suximage &If you encounter errors, go back to "Setting" and do again.
Try the followings.
$ suximage < Nstack.su perc=?? &Namely, figures that resemble the following figure are insufficient.
See tips on how to output the displayed figure and submit your printout.