|
GEPH316 Seismic Data Processing
Field Data Workshop 2000 |
2 Environment Setup |
Setting the Unix environment
- The CWP/SU seismic data processing package is rather large, both in source and compiled form. Therefore, the source and binaries are kept in the filestore of Brian Robinson and accessed from there during the practical.
- In order to achieve transparent access, two Unix C shell environment features must be set.
- First, the environment variable CWPROOT is set to point at the CWP directory.
- Second, your default program search path is extended to include the CWP binaries.
- Simply copy the following text onto your Xterm window and execute it.
setenv CWPROOT /home/ufs1/51/robinsob/cwp
set path=($path /home/ufs1/51/robinsob/cwp/bin)
- If you want these environment changes to be permanently active each time you log in to Unix, you will have to add these two lines to the end of your .cshrc file which sets up your c shell resources. You can do this using with the following lines, finishing with the ctrl+d key, which means end of data. Warning: make sure there are 2 right arrowheads in the cat command.
cat >> .cshrc
setenv CWPROOT /home/ufs1/51/robinsob/cwp
set path=($path /home/ufs1/51/robinsob/cwp/bin)
Using the scratch file area
- The seismic data file and the various processed files produced are each around 2 Mbytes in size. In order to avoid problems with filestore quota, it is recommended to run all the workshop in your scratch file area, which does not count against your quota. The files can be erased at the end of the practical, or they will be erased automatically by the system within a few days.
- Used the following command to move from your login home directory to your scratch directory.
cd $scratch
Copying the raw seismic data file
- Each student needs their own copy of the raw seismic data to work on.
- Use the following copy command to copy the seismic field data file into your own scratch area. The name of the data file is simply line.
- Note that the end of the command line consists of a space followed by a full stop.
cp /home/ufs1/51/robinsob/geophysics/seismic/geometrics/refl000303/line .
Summary - setting everything up
- You can use the following 4 lines to set up quickly your X terminal session for this practical and any future sessions.
setenv CWPROOT /home/ufs1/51/robinsob/cwp
set path=($path /home/ufs1/51/robinsob/cwp/bin)
cd $scratch
cp /home/ufs1/51/robinsob/geophysics/seismic/geometrics/refl000303/line .
Comments on this information may be mailed to
B.Robinson@lancaster.ac.uk
Copyright © Brian Robinson 2000. All rights reserved.
Last updated on 7/03/2000 by BR.