📄 suchw
字号:
SUCHW - change header word using one or two header word fieldssuchw <stdin >stdout [optional parameters]Required parameters: noneOptional parameters: key1=cdp output key key2=cdp input key key3=cdp input key a=0 overall shift b=1 scale on first input key c=0 scale on second input key d=1 overall scaleThe value of header word key1 is computed from the values ofkey2 and key3 by: val(key1) = (a + b * val(key2) + c * val(key3)) / dExamples:Shift cdp numbers by -1: suchw <data >outdata a=-1Add 1000 to tracr value: suchw key1=tracr key2=tracr a=1000 <infile >outfileWe set the receiver point (gx) field by summing the offsetand shot point (sx) fields and then we set the cdp field byaveraging the sx and gx fields (we choose to use the actuallocations for the cdp fields instead of the conventional1, 2, 3, ... enumeration): suchw <indata key1=gx key2=offset key3=sx b=1 c=1 | suchw key1=cdp key2=gx key3=sx b=1 c=1 d=2 >outdata
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -