seg2csv

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

seg2csv - BSU program converts BSEGY data file to CSV (Comma Separated Value) file (C-Language Version)

SYNOPSIS

seg2csv [ -h | infile ]

DESCRIPTION

Basic Seismic Utilities (BSU) program reads a BSEGY data file and outputs the data as an ASCII text, CSV file. CSV file columns are [sample_time, trace1, trace2, trace3, . . . traceN]. Each row contains the sample values for that sample time. Spread sheet programs can be used to view CSV files. C-Language Version.

Options

-h

Online help giving details on command line arguments

infile

First argument is the input file name

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

EXAMPLE:
seg2csv 0001.seg

Input file 0001.seg will be converted and output as file named 0001.csv

FILES

csvtxxxx.lst

where xxxx is the base name of input file, (ie. csvt0001.lst) Echo check of input parameters in listing file, number samples and traces, sample interval.

standard output

produces a progress bar

xxxx.csv

Comma separated value file (CSV), suitable for input to a spreadsheet program like libreoffice or excel.

SEE ALSO

bhelp(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]>