EXTBIN (non-standard SU module)
This module was originally written to extract vertical functions from binary velocity files. Since then it has been extended to convert the various binary and FDM file from one format to another, including extracting 2D files from 3D file.
extbin < filein inform= outform= optional_params > fileout
inform :
bin2d : Standard SU 2D binary velocity file (need to specify n1, n2)
bin3d : Standard SU 3D binary velocity file (need to specify n1, n2, n3)
fdm2d : Standard 2D FDM velocity file
fdm3d : Standard 3D FDM velocity file
seg2d : 2D SEGY format (32bit IBM floating point or IEEE) - currently expects a big endian
seg3d : 3D SEGY format (32bit IBM floating point or IEEE) - currently expects a big endian
outform :
ascii : Listing of time/velocity values for specified nodes
bin2d : Standard SU 2D binary velocity file
bin3d : Standard SU 3Dbinary velocity file
viewvt : ASCII listing of velocities at specified nodes in VT format
exctxt : ASCII table of velocities at specified nodes ready to read into MS Excel
fdm2d : Standard 2D FDM velocity file
fdm3d : Standard 3D FDM velocity file
seg3d : Standard 3D segy format file (note dz cannot be too large because it is a short integer
If binary format is input :
n1 : Number of samples in the z axis
n2 : Number of samples in the x axis (CDPs or xlines)
n3 : Number of samples in the y axis (inlines) if a 3D file
If inputting a 2D SEGY file :
maxntr=2000 : Maximum number of traces expected (used to allocate memory for the field)
If outputting a 2D 'section' from a 3D input file :
fy2 : Node (in the inline axis) to output from the 3D file (starting from 0)
More standard optional parameters :
fx2 : 1st x node (starting from 0) to output
dx2 : Increment of x nodes to output
perc=0 : Minimum percentage change in velocity for that poing to be output
Labelling parameters for listings :
fcdp=1 :
cinc=1 :
minc=25 :
tinc=1 :
verbose=1
NOT COMPLETED
Example :
1. extbin < filein3d.fdm inform=fdm3d outform=bin3d > fileout3d.bin
This example converts the input 3D FDM format file to a standard SU 3D binary file that can be viewed using xmovie.
2. extbin < filein3d.fdm inform=fdm3d outform=bin2d fy2=100 > fileout2d.bin
This example extracts the inline node 100 from the input 3D FDM format file and outputs it as a standard 2D SU binary file which can be viewed using ximage.
See also :