b'\n \n \n
 
\n  
sfmake_ix_indx (4.0)
index
user/karl/Mmake_ix_indx.c
\n MAKE Iline Xline INDX files for quick 3D data subsets (superbins)\n

\n \n \n \n \n \n
 
\n Synopsis
       sfmake_ix_indx < infile.rsf > out.rsf verbose=1 ilinemin=-1e31 ilinemax=-1e31 xlinemin=-1e31 xlinemax=-1e31 ilineinc=10 input= headers= iline= xline= indxdir=

\nThese indexes are intended to be used by future sftahsort and sftah5dinterp.
\n
\nEXAMPLE:
\nRunnning the programs:
\n
\nsfmake_ix_indx \\
\nverbose=1 \\
\ninput=npr3_fielda.rsf \\
\nindxdir=npr3_field \\
\nilineinc=10 \\
\niline=iline \\
\nxline=xline \\
\nappend=no \\
\n>/dev/null
\nsfmake_ix_indx \\
\nverbose=1 \\
\ninput=npr3_fieldb.rsf \\
\nindxdir=npr3_field \\
\nilineinc=10 \\
\niline=iline \\
\nxline=xline \\
\nappend=yes \\
\n>/dev/null
\n
\nWill create a set of files:
\nnpr3_field/il0
\nnpr3_field/il5
\n...
\nnpr3_field/il350
\nand
\nnpr3_field/filename_indx
\n
\nThe file npr3_field/il15 will contain the trace headers of the traces with
\ntrace header "iline" nearest to 15. The file also has the file number and
\nthe trace number, so you can locate the trace in the input files (either
\nnpr3_fielda.rsf or npr3_fieldb.rsf. The trace headers in the file are all
\nsorted by xline. With this information you can quickly find all the traces
\nthat are in a range of ilines and xlines. This supports sftah5dinterp which
\nprocesses all the traces in a midpoint superbin that might be 800 meters by 800
\nmeters (about 16 ilines and 32 xlines). This is not a simple sort problem
\nbecause sftah5dinterp processes data in overlapping bin (i.e. the 800 meter
\nsuperbin centers moveup by 400 meters). Overlapping superbins are supported by
\nallowing traces to be reread.
\n
\nThe program also allows sftahsort to read from multiple files. This is useful
\non larger 3D projects where the input data is on multiple segy files.
\nPreviously I merged the files into one big file after running sfsegyread. This
\nrequired an additional copy of all the data to be saved on disk.
\n\n

\n \n \n \n \n \n
 
\n Parameters
       \n \n \n
\n  
string headers=
\t
\n
\n Trace header file name. Default is the input data file
\n name, with the final .rsf changed to _hdr.rsf
\n
\n
\n \n\n \n \n
\n  
string iline=
\t
\n
\n header key for the main index key. This should be iline, but you
\n may have non-standard trace headers or a wierd use of this program
\n
\n
\n \n\n \n \n
\n  
int ilineinc=10
\t
\n
\n incrment in iline for the index
\n
\n
\n \n\n \n \n
\n  
float ilinemax=-1e31
\t
\n
\n maximum "iline" header key to include in the index. Use this parameter
\n to remove null trace headers or traces outside project area.
\n
\n
\n \n\n \n \n
\n  
float ilinemin=-1e31
\t
\n
\n minimum "iline" header key to include in the index. Use this parameter
\n to remove null trace headers or traces outside project area.
\n
\n
\n \n\n \n \n
\n  
string indxdir=
\t
\n
\n The name of the directory containing the iline,xline index. This
\n directory will be in DATAPATH (probably the environment variable). The
\n directory also continues a file "filenames", a list of the trace and
\n header files that contributes to this index. The directory contains files
\n with names "indx#" here # is an integer multiple of ilineinc. These files
\n contains a record for each contributing trace with filenumber,
\n tracenumber, and the trace header. The file containing the trace is
\n determined using the can be read by using the filenumber and the
\n "filenames" file. The tracenumber defines the location of the trace
\n in the file.
\n
\n
\n \n\n \n \n
\n  
string input=
\t
\n
\n Input file for traces amplitudes
\n
\n
\n \n\n \n \n
\n  
int verbose=1
\t
\n
\n flag to control amount of print
\n 0 terse, 1 informative, 2 chatty, 3 debug
\n
\n
\n \n\n \n \n
\n  
string xline=
\t
\n
\n \n\n \n \n
\n  
float xlinemax=-1e31
\t
\n
\n maximum "xline" header key to include in the index. Use this parameter
\n to remove null trace headers or traces outside project area.
\n
\n
\n \n\n \n \n
\n  
float xlinemin=-1e31
\t
\n
\n minimum "xline" header key to include in the index. Use this parameter
\n to remove null trace headers or traces outside project area.
\n
\n
\n \n
'