.bin文件转化成.su文件
[newuser57@GPU7 input]$ ls
velocity.bin
[newuser57@GPU7 input]$ ls -ltr
总用量 3916
-rw-r--r-- 1 newuser57 newusers 4008004 9月 4 10:28 velocity.bin
[newuser57@GPU7 input]$ ximage<velocity.bin n1=1001&
[1] 3934
[newuser57@GPU7 input]$
ximage: bclip=3000 wclip=1000
ximage:
in colormap, depth=24
ximage: using : "cmap=rgb0"
ximage: pmin=0,pmax=0
ximage: pmin=0,pmax=ff
设置垂向采样点
[newuser57@GPU7 input]$ suaddhead<velocity.bin ns=1001>velocity.su
[newuser57@GPU7 input]$ ls -ltr
总用量 8068
-rw-r--r-- 1 newuser57 newusers 4008004 9月 4 10:28 velocity.bin
-rw-r--r-- 1 newuser57 newusers 4248244 9月 11 08:59 velocity.su
[newuser57@GPU7 input]$ suedit<velocity.su
suedit: ! examine only (no header editing from STDIN)
1001 traces in input file
tracl=1001 trid=1 ns=1001
>
tracl=1000 trid=1 ns=1001
>
tracl=999 trid=1 ns=1001
>
tracl=998 trid=1 ns=1001
>
tracl=997 trid=1 ns=1001
>
tracl=996 trid=1 ns=1001
>
tracl=995 trid=1 ns=1001
> 1
tracl=1 trid=1 ns=1001
> ^C
设置道头字(设置垂向采样间隔)
[newuser57@GPU7 input]$ sushw<velocity.su key=dt a=10000>velocity2.su
[newuser57@GPU7 input]$ ls -ltr
总用量 12220
-rw-r--r-- 1 newuser57 newusers 4008004 9月 4 10:28 velocity.bin
-rw-r--r-- 1 newuser57 newusers 4248244 9月 11 08:59 velocity.su
-rw-r--r-- 1 newuser57 newusers 4248244 9月 11 09:06 velocity2.su
[newuser57@GPU7 input]$ suedit velocity2.su
1001 traces in input file
tracl=1001 trid=1 ns=1001 dt=10000
>
tracl=1000 trid=1 ns=1001 dt=10000
>
tracl=999 trid=1 ns=1001 dt=10000
>
tracl=998 trid=1 ns=1001 dt=10000
> 1
tracl=1 trid=1 ns=1001 dt=10000
> ^C
设置道头字(设置纵向采样间隔)
[newuser57@GPU7 input]$ sushw<velocity2.su key=sx a=0 b=10000>velocity3.su
[newuser57@GPU7 input]$ suedit velocity3.su
1001 traces in input file
tracl=1001 trid=1 sx=10000000 ns=1001 dt=10000
>
tracl=1000 trid=1 sx=9990000 ns=1001 dt=10000
>
tracl=999 trid=1 sx=9980000 ns=1001 dt=10000
>
tracl=998 trid=1 sx=9970000 ns=1001 dt=10000
> 1
tracl=1 trid=1 ns=1001 dt=10000
> ^C
[newuser57@GPU7 input]$ surange<velocity3.su
1001 traces:
tracl 1 1001 (1 - 1001)
trid 1
sx 0 10000000 (0 - 10000000)
ns 1001
dt 10000
Shot coordinate limits:
North(0,0) South(0,0) East(1e+07,0) West(0,0)
Midpoint coordinate limits:
North(0,0) South(0,0) East(5e+06,0) West(0,0)
su文件转成bin文件
sustrip < data.su head=data.headers > data.bin
bin文件转su文件
supaste<data.bin head=data.headers>data.su