seg2txt

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

seg2txt - BSU writes bsegy seismic traces to ASCII text file

SYNOPSIS

seg2txt [ -h | infile | tmin | tmax | fstrc | lstrc | timelist ]

DESCRIPTION

Basic Seismic Utilities (BSU) reads seismic traces from a bsegy file and writes output to an ASCII text file. The columns of output begin with the sample time (ONLY IF timelist=1), followed by the data values in E format. The original distribution sets the maximum number of traces at 200 for output (files can get large). If this is not large enough, change the mdim parameter in the source and recompile. Systems with large amounts of memory can make this value as big as memory will allow. For systems without large memory, you can always break the output into several files using the first and last trace parameters. NOTE: No header information is output other than the sample times (ONLY IF timelist=1). Header information can be extracted with bdump or bhed. Fortran 77.

Options

-h

Online help giving details on command line arguments

infile

Input file name

tmin

Start time for the output samples.

tmax

End time for the output samples.

fstrc

First trace to extract from the input file and output to text.

lstrc

Last trace to extract from the input file and output to text.

timelist

If timelist=1 insert a first column of sample times, timelist=0 only data output.

NOTE:
If invoked with no options, will prompt user for input parameters.

EXAMPLE:
seg2txt wave.seg .02 .07 5 10 0

Traces 5 through 10 are output, samples limited from .02 seconds to .07 seconds. No first column of sample times inserted in output.

FILES

s2txtyyyy.txt

Name convention is s2txt plus the first 4 characters of the input file name.

standard output

produces a progress bar

s2txyyyy.lst

echo check of input parameters.

SEE ALSO

bhelp(1), bhed(1), bdump(1), traplt(1)

BUGS

No known bugs.

COPYRIGHT

Copyright © 2024 by Paul Michaels

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

AUTHOR

P. Michaels, PE. <[email protected]>