Skip to content
John Stockwell edited this page Oct 23, 2022 · 8 revisions

Table of Contents

About

Main article: History

The CWP/SU:Seismic Un*x is an open source seismic utilities package supported by the Center for Wave Phenomena (CWP) at the Colorado School of Mines (CSM). The package provides an instant seismic research and processing environment for users running on all Unix and Unix-like operating systems, which include the operating systems whose names begin in "U" and end in "X", Mac OS X, Linux, Free BSD Unix, and the Cygwin32 system for Windows PCs.

New users are encouraged to visit the new home of the Seismic Un*x project Seismic Unix dot Org where you can download a copy of the latest release.

Syntax

The Seismic Unix routines run under the Unix terminal, and can get maximum efficiency when using it with Bourne Shell (sh) or Bourne-again Shell (bash) scripting techniques.

Simple routines

Many of the programs run simply by a command on the terminal, for instance, to visualize a seismogram, as wiggle traces

$ suxwigb < seismogram.su

or as an image plot

$ suximage < seismogram.su 

More elaborate routines

It is also possible, to use bash features do elaborate more complex processing structures:

$ for ((i=1;$i<=100;i++)); do
> sufdmod2 < model.bin > output.mov nx=200 nz=300 tmax=5 xs=$i zs=0 hsfile=seismogram.$i.su
> done

In the example above Seismic Unix will create 100 seismograms in 100 different source positions

Long term, a better approach is write a shell script (Bourne shell or bash, DON'T use csh & family) and take the time to comment it. Then give it a sensible name that you have some chance of understanding a few years later. This may seem like a lot of extra work, but if you don't you will eventually wish that you had.

SU Data

Main article: Seismic Unix data format

SU Programs

Main article: Programs

Seismic Unix has many of the processes needed on the geophysical processing. It is possible to use it to manipulate and create your own seismograms, and also to convert them between the SU standard file and the industry standard, the SEG Y.

Awards

Guides

SU community

Seismic Unix has a very large community. Many laboratories and individual researchers use SU in their work. There is a listserver group where users can post their questions about SU and obtain help.

Installation Notes

Most system headers have a dazzling variety of conditionals. If you specify the wrong flags for your system the compile can get confused in interesting ways. If your system requires certain things in CFLAGS, they need to be defined on the OPTC line of . Otherwise, they won't be passed to all the Makefiles. The CFLAGS used for many portions of CWP/SU are defined in the file rather than the CFLAGS line in

Category:Installation

Ubuntu 20.04

If you get errors about "rpc" you may need to install the codes with the XDR option turned off.

In Makefile.config (I assume you are using the Makefile.config for Linux Ubuntu 20.04):

change line 45 from

  1. XDRFLAG =
to XDRFLAG =

$ cd $CWPROOT/src $ make remake $ make xtremake

Here are a collection of installations that may need to be be performed in order to be ready to

install the Seismic Unix codes.

$ sudo apt-get install xorg $ sudo apt-get update $ sudo apt-get install xorg $ sudo apt-get install gcc $ sudo apt-get install libx11-dev $ sudo apt-get install libxt-dev $ sudo apt-get install libxext-dev $ sudo apt-get install make $ sudo apt-get install libmotif-dev change line 45 from

  1. XDRFLAG =
to XDRFLAG =

$ cd $CWPROOT/src $ make remake $ make xtremake

Here are a collection of installations that may need to be be performed in order to be ready to

install the Seismic Unix codes.

$ sudo apt-get install xorg $ sudo apt-get update $ sudo apt-get install xorg $ sudo apt-get install gcc $ sudo apt-get install libx11-dev $ sudo apt-get install libxt-dev $ sudo apt-get install libxext-dev $ sudo apt-get install make $ sudo apt-get install libmotif-dev

Software Engineering & Development

Some basic introduction to software engineering and further development of SU

Main article Software Engineering