c_bsegout

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

c_bsegout - function to write a seismic trace

SYNOPSIS

int c_bsegout( int jrec, float s2[], int npts, struct header *hd, FILE *h2 )

DESCRIPTION

Basic Seismic Utilities (BSU) function which writes a seismic trace. Allocation of memory for s2 and initial opening of file done in calling function.
C-language version
.

Arguments
jrec (int)

Record number to write

s2 (float)

Array in which samples to be stored.

npts (int)

Number of samples in a trace

*hd (struct hd)

Pointer to bsegy seismic header.

*h2 (FILE)

Pointer to file being written

NOTE:
Trace header data are defined as a "header structure" in the c_bsegy.h include file. For an example on how to use this function, see demonstration master program, cmst.c.

SEE ALSO

c_bsegin(3), in_chk(3), cmst(1), c_bsegy(5)

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