SEGY to ASCII: Conversion and Plotting Program

Open-File Report 99-126




This report documents a computer program to convert standard 4 byte, IBM floating point SEGY files to ASCII xyz format. The program then optionally plots the seismic data using the GMT plotting package. The material for this publication is contained in a standard tar file (of99-126.tar) that is uncompressed and 726 K in size. It can be downloaded by any Unix machine. Move the tar file to the directory you wish to use it in, then type 'tar xvf of99-126.tar' The archive files (and diskette) contain a NOTE file, a README file, a version-history file, source code, a makefile for easy compilation, and an ASCII version of the documentation. The archive files (and diskette) also contain example test files, including a typical SEGY file along with the resulting ASCII xyz and postscript files. Requirements for compiling the source code into an executable are a C++ compiler. The program has been successfully compiled using Gnu's g++ version 2.8.1, and use of other compilers may require modifications to the existing source code. The g++ compiler is a free, high quality C++ compiler and may be downloaded from the ftp site: Requirements for plotting the seismic data is the existence of the GMT plotting package. The GMT plotting package may be downloaded from the web site:

Additional Publication Details

Publication type:
Publication Subtype:
USGS Numbered Series
SEGY to ASCII: Conversion and Plotting Program
Series title:
Open-File Report
Series number:
Superseded by OFR 2005-1311
Year Published:
Geological Survey (U.S.)
Contributing office(s):
U.S. Geological Survey
14 p.; 1 computer disk (3 1/2 in.)