Download The New SU User`s Manual

Transcript
24
CHAPTER 3. CORE SEISMIC UNIX PROGRAMS
% sukeyword jobid
int jobid;
/* job identification number */
int lino;
/* line number (only one line per reel) */
int reno;
/* reel number */
short ntrpr;
/* number of data traces per record */
short nart;
/* number of auxiliary traces per record */
unsigned short hdt; /* sample interval in micro secs for this reel */
unsigned short dto; /* same for original field recording */
...
where “jobid” is the first binary header field.
The file “header” is an ASCII file which may be edited with a normal text editor. You can
put anything in there, as long as the format is 40 lines of 80 characters each. Segywrite will
automatically convert this program The default header file created by segyhdrs looks like this
C
C
C
C
C
C
...
C
C
3.1.6
This tape was made at the
Center for Wave Phenomena
Colorado School of Mines
Golden, CO, 80401
BHEDTOPAR, SETBHED - Editing the binary header file
The binary header file must be converted to an ASCII form, to be edited. The program
bhedtopar permits the “binary” file to be written in the form of a “parfile”
% bhedtopar
< binary outpar=binary.par
which for the case of the header file created for the test SU data appears as follows
jobid=1
lino=1
reno=1
ntrpr=0
nart=0
hdt=4000
...
The values that are assigned to the various header files may be edited, and be reloaded into the
header file via setbhed
% setbhed bfile=binary par=binary.par