in_chk

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

in_chk - function to examine a bsegy seismic file

SYNOPSIS

int in_chk( int *ntraces, int *npts, float *fsamin, struct header hd, FILE *h1 )

DESCRIPTION

Basic Seismic Utilities (BSU) function scans a bsegy file to find number of traces, number of samples per trace, and sample interval.
C-Language version

Arguments
*ntraces (int)

Pointer for number of traces.

*npts (int)

Pointer for number of samples in a trace.

*fsamin (float)

Pointer for sample interval in units of seconds.

hd (struct header)

bsegy header

*h1 (FILE)

Pointer to file being read

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

SEE ALSO

c_bsegout(3), cmst(1), c_bsegy(5)

BUGS

No known bugs

COPYRIGHT

Copyright © 2017 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. <pm@cgiss.boisestate.edu>