sfbin2rsf (4.0)
index
user/chenyk/Mbin2rsf.c
Binary file to RSF file

 
Synopsis
        sfbin2rsf > out.rsf n1= n2= d1=0.004 d2=1 o1=0 o2=0 bfile=
Convert a file containing a two dimensional array of binary floats to
.rsf format. n1*n2*sizeof(float) bytes are read from the input file
and the rsf file is written to standard output. If you have a higher
dimension file (3d, 4d, ..) you can change n2, n3, etc using sfput.

Example that converts and plots a binary velocity grid:

| sfgrey color=jet scalebar=y allpos=y | sfpen

 
Parameters
       
 
string bfile=

 
float d1=0.004

 
float d2=1

 
int n1=

 
int n2=

 
float o1=0

 
float o2=0

 
Used In
       

 
TCCS
        dsd/field1
dsd/field2

 
ZJU
        dtv/marm
qrtm/marm