Link to USGS home page
Coastal and Marine Geology Program

SEISMIC UNIX SCRIPTS

Home | Read Me | Cruise Activity | Navigation Data | Seismic Data | USGS Software | Seismic Unix | Disclaimer


Seismic Unix (SU) is a public domain seismic processing software package written and maintained by the Center for Wave Phenomena at the Colorado School of Mines, in Golden Colorado. The current web site for SU is http://www.cwp.mines.edu/cwpcodes. SU can run on numerous Unix operating systems and also on Linux. The SU scripts provided on this disc and listed below were modified from scripts written by the USGS Seafloor Mapping Group in Woods Hole, MA and run on a Sun Solaris 7.0 workstation. These SU scripts and other necessary files and software are located in the Unix tar file called boom.tar within the SEISUNIX subfolder in the SOFTWARE folder at the top level of this CD-ROM. These scripts are provided as examples only. They may need to be modified to run on another system. They also require the use of several shareware programs such as ImageMagick, and ghostscript.

The SU scripts provided here will allow the user to strip off navigation fixes from the SEG-Y headers along with a fix for every 500th shot. The seismic data is then converted to SU format, filtered, gained and both Postscript and GIF formatted images are produced. These images can then be displayed using a variety of shareware programs such as ghostview (Unix, Linux, MAC, Windows), kview (Linux), or a web browser.


To use the scripts provided here you must first install SU on a Unix or Linux system. The scripts require that the following 4 subdirectories (all at the same hierarchical level) be created before the scripts are run; 1. SU, 2. segy, 3. seisimag, and 4. nav. If you untar the boom.tar file these subdirectories will be created for you. The scripts and all associated files (see below) should be placed in the subdirectory called SU. The SEG-Y data should be placed in the segy subdirectory. After the scripts are run Seismic Unix will write the Postscript and GIF images in the seisimag subdirectory and the navigation data in the nav subdirectory. SU will also reformat the SEG-Y data into an SU format and place that file in the SU subdirectory.

Provided below is a step by step example of the processing sequence and example parameters required by each script. For more information please refer to the SU documentation provided on the web or the help menu if Seismic Unix is installed on the computer. Remember these scripts are provided as examples only. There are many differences in versions of Unix and Linux. We developed these scripts to run on Sun Solaris 7.0.


Step 1. Untar the boom.tar file and it will create subdirectories SU, segy, seisimag, and nav.

Step 2. Make sure the permissions for all files in the SU subdirectory have been set to allow execution (ie chmod +x scriptname).

These 2 steps do not need to be repeated.

Step 3. Run readsegy. readsegy wants the following information in this order on one line separated by spaces

example: readsegy ../segy sc9968_1 ..

Step 4. Run boom. boom wants the following information in this order on one line separated by spaces

example: boom 0 .200 .. sc9968_1 8 95

Repeat steps 3 and 4 for each data file.

Step 5. View the seismic profile using a web browser or kview for GIF formatted files, or ghostview for Postscript files.


The following list of files are produced or called by the SU scripts (readsegy and boom). These should also be extracted from the boom.tar file:

aldenseismic - used if plotting to an alden plotter.

binary - stores the binary portion of the SEG-Y header when the file is converted to SU format.

header - stores the stripped ascii header information when the SEG-Y file is converted into SU format.

gsgifscript - needed by makegif2 to convert the postscript image to GIF format.

gsscript - needed if you run aldenseismic to produce a alden formatted plot.

landscape.ps - converts the postscript plot into a landscape display direction.

makegif2 - converts the postscript image to a gif image.

print_alden - prints the alden formatted plot.

printhead_alden - prints a header file for an alden plot.

proc_history - records a record of the data processed and parameters used.


Note: These are c-shell scripts. Make sure that your .cshrc file has been modified as per the SU installation intructions. For example on our system you must add the location of /opt/cdp/bin to the set path statement. Also a setenv statement must also read setenv CSPROOT/opt/cwp .

Home | Read Me | Cruise Activity | Navigation Data | Seismic Data | USGS Software | Seismic Unix | Disclaimer

[an error occurred while processing this directive]