📄 surelanan
字号:
#! /bin/sh# Residual moveout analyses for the image gathers# residual moveout is represented by z(h)^2 = z(0)^2+r1*h^2+r2*h^4/[z(0)^2+h^2]# where h is half offset# Authors: Debashish Sarkar# NOTE: Comment lines preceeding user input start with ###set -x## Set parametersinput=migrate.datarpicks=res.p1cdpmin=2000cdpmax=2500dcdp=500fold=40minoffs=0maxoffs=2000R=1## npicks specifies the number of picks allowed on the reflector. Change the## the number if needed.npicks=12## Rmax denotes the number of reflectors on which velocity analysis is performedRmax=1## Set r-parameter samplingnr1=200 dr1=0.006 fr1=-0.6nr2=200 dr2=0.006 fr2=-0.6rm cig.parpause begin SURELANAN Demoechoecho " Instructions for migration velocity analysis "echoechoecho " Pick 12 points on the migrated image of the reflector"echo " This is done by placing the mouse cursor on the desired point"echo " and typing s on the keyboard. This is blind picking, you will"echo " not see any indication that a pick has been made."echoechoecho " When you have picked 12 points along the reflector, "echo " type: q to save the points."echopause begin pickingwhile [ $R -le $Rmax ]dosuwind < $input key=offset min=$minoffs max=$maxoffs | sustack | suximage mpicks=ref.$R title="analyzing reflector $R"pause ... Continue demoechoecho "You have now picked the 12 points on the reflector. The next"echo "that comes up is a 2D semblance plot. You will now pick the"echo "maximum value on this plot by placing the cursor on the maximum"echo "value and then type s followed by q"echopause ... Pick the maximum on the semblance plot.## Do the residual moveout analyses.cdp=$cdpminwhile [ $cdp -le $cdpmax ]do ok=false while [ $ok = false ] do echo "Starting Residual moveout analysis for cip $cdp" suwind < $input key=cdp min=$cdp max=$cdp count=$fold | surelanan refl=ref.$R npicks=$npicks nr1=$nr1 dr1=$dr1 fr1=$fr1 \ nr2=$nr2 dr2=$dr2 fr2=$fr2 | suximage bclip=0.95 wclip=0.0 f1=$fr2 d1=$dr2 f2=$fr1 d2=$dr1 \ label1="r2-parameter" label2="r1-parameter " \ title="r-parameter Scan for CIP $cdp" \ grid1=solid grid2=solid cmap="hsv8" \ mpicks=mpicks.$cdp.$R blank=.7 key=d2 labelsize=30 titlesize=30 pause echo -n "Picks OK? (y/n) " >/dev/tty read response case $response in n*) ok=false ;; *) ok=true ;; esac done </dev/tty cdp=`bc -l <<END $cdp + $dcdpEND`doneset +x### Combine the individual picks into a composite par fileecho "Editing pick files ...">$rpickscdp=$cdpminwhile [ $cdp -le $cdpmax ]do echo -n "cdp$R=$cdp," >temp cat temp mpicks.$cdp.$R>>$rpicks cdp=`bc -l <<END $cdp + $dcdpEND`donesed "s/ /,/g"<$rpicks >>cig.parecho "dzdv par file: cig.par is ready"### Clean upcdp=$cdpminwhile [ $cdp -le $cdpmax ]do rm mpicks.$cdp.$R cdp=`bc -l <<END $cdp + $dcdpEND`donerm temp $rpicksR=`bc -l <<END$R + 1END`done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -