cos.sh
来自「seismic software,very useful」· Shell 代码 · 共 27 行
SH
27 行
#! /bin/sh# Get (approx) common offset section---runs in background# NOTE: Comment lines preceeding user input start with #!## Author: Jackset -x#!# Set input fileinput=cdp201to800.pack### Get the variation in offset from gather to gather (cf. Getcdps)#sugethw <cdp371to380 cdp offset >offsetvals#exit#!# On the basis of results of last paragraph set:minoffset=291 # minimum offsetvaroffset=83 # variation in offsets (can leave some slack)doffset=106 # delta offset (take smallest)j=0 # j is the index of the offset range (0 is near offset)#!# Hard-wired output file name--can change if you wishsection=cos.$j.pack### This takes a while! So do in background--hit return to get promptmin=`expr $minoffset + $j \* $doffset`max=`expr $min + $varoffset`suwind <$input key=offset min=$min max=$max >$section &
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?