code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
# The idea is to low pass filter the data to get rid of the ground
# roll. Since the raw data is dominated by the ground roll, apply
# suspecfx to the raw data to estimate the ground roll frequency content.
WIDTH=600
HEIGHT=450
WIDTHOFF1=0
WIDTHOFF2=640
HEIGHTOFF1=50
HEIGHTOFF2=530
perc=90 # accept value... | Shell |
#! /bin/sh
# Use sumute to eliminate direct arrivals on the filtered data
demo=mute
perc=90
tpow=2
f=0,15,25,30
amps=0.,0.,1.,1.
sufilter <data.su f=$f amps=$amps |
sugain tpow=$tpow |
supsimage perc=$perc \
title="f=$f + gain"\
label1="Time (sec)" label2="Offset (km)" >${demo}.1.eps
xmute=1,49,97
tmute=1.0,.2,1... | Shell |
#! /bin/sh
# Best results starting with suspecfx and using some indicated sufilters
WIDTH=600
HEIGHT=450
WIDTHOFF1=0
WIDTHOFF2=640
HEIGHTOFF1=50
HEIGHTOFF2=530
perc=90 # accept value in book
tpow=3.2 # accept value in oz25.H
f=0,10,15,20
amps=0.,0.,1.,1.
sufilter <data.su f=$f amps=$amps |
sugain tpow=$tpow |
sux... | Shell |
#! /bin/sh
# The idea is to low pass filter the data to get rid of the ground
# roll. Since the raw data is dominated by the ground roll, apply
# suspecfx to the raw data to estimate the ground roll frequency content.
demo=filt1
perc=90 # accept value in Scales book
tpow=3.2 # accept value in oz25.H
supsimage <da... | Shell |
#! /bin/sh
# Making segy data for little Endian machines
if
[ ! -f oz25.F -o ! -f oz25.H ]
then
echo "See the README file for accessing the required data" 1>&2; exit 1
fi
# Since we are on a "Little Endian" machine (PC), we must swap bytes
# Add header and set header fields for future processing convenience.
# Note... | Shell |
#! /bin/sh
# Purpose: Same as XDip1, but using "physical" dt and dx
demo=dip3
amps=1,0,0,1 # In this demo, we try to kill a reflector of given slope
###MODEL###
# We make some simple data with suplane. Note that in units of
# trace/timesample the default slopes in suplane are 0, 1, 2, so
# that the middle reflector ... | Shell |
#! /bin/sh
# Purpose: Successively kill each of the reflectors in the standard
# suplane "test pattern". See README for details.
demo=dip1
amps=1,0,0,1 # In this demo, we try to kill a reflector of given slope
###MODEL###
# We make some simple data with suplane. Note that in units of
# trace/timesample the default ... | Shell |
#! /bin/sh
# Clean created data files
rm -f suplane.data *.eps
exit
| Shell |
#! /bin/sh
# Purpose: Continue the theme of zapping spatially aliased data from
# suplane, doing a more difficult case
demo=dip2
amps=1,0,0,1 # In this demo, we try to kill a reflector of given slope
###MODEL###
# We make some simple data with suplane. Here, in units of
# trace/timesample the slopes are -1, 1, 2, so... | Shell |
#! /bin/sh
# Purpose: Continue the theme of zapping spatially aliased data from
# suplane, doing a more difficult case
WIDTH=420
HEIGHT=700
WIDTHOFF1=0
WIDTHOFF2=430
WIDTHOFF3=860
HEIGHTOFF=150
amps=1,0,0,1 # In this demo, we try to kill a reflector of given slope
###MODEL###
# We make some simple data with suplane. ... | Shell |
#! /bin/sh
# Purpose: Successively kill each of the reflectors in the standard
# suplane "test pattern". See README for details.
WIDTH=420
HEIGHT=400
WIDTHOFF1=0
WIDTHOFF2=430
WIDTHOFF3=860
HEIGHTOFF1=50
HEIGHTOFF2=500
amps=1,0,0,1 # In this demo, we try to kill a reflector of given slope
###MODEL###
# We make some ... | Shell |
#! /bin/sh
# Purpose: Same as XDip1, but using "physical" dt and dx
WIDTH=420
HEIGHT=400
WIDTHOFF1=0
WIDTHOFF2=430
WIDTHOFF3=860
HEIGHTOFF1=50
HEIGHTOFF2=500
amps=1,0,0,1 # In this demo, we try to kill a reflector of given slope
###MODEL###
# We make some simple data with suplane. Note that in units of
# trace/times... | Shell |
#! /bin/sh
# Clean.sh - recursively call Clean.sh in the demo directories
# Test back-up dir first (at CWP must run on NeXT-net)
DEMODIR=$CWPROOT/src/demos/Filtering
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
if
[ -f Clean.sh ]
then
echo $i
Clean.sh
fi
rm -f *~ \#*\... | Shell |
#! /bin/sh
rm junk* *.eps
| Shell |
#! /bin/sh
suspike nspk=1 ix1=32 it1=32 nt=64 ntr=64 > junk.spk
suximage title="Spike Data" wbox=400 hbox=400 < junk.spk &
suk1k2filter < junk.spk |
suximage title="Filtered Spike data" wbox=400 hbox=400 xbox=660 &
suk1k2filter < junk.spk | suspeck1k2 |
suximage title="Filter" ybox=500 xbox=660 wbox=400 hbox=400 &... | Shell |
#! /bin/sh
suplane len1=32 len2=32 len3=32 | sufilter > junk1.su
suxwigb < junk1.su wbox=350 hbox=450 title="Original data" &
sumedian < junk1.su par=parfile1 median=1 |
suxwigb wbox=350 hbox=450 xbox=550 title="Remove steepest sloping event" &
sumedian < junk1.su par=parfile2 median=1 |
suxwigb wbox=350 hbox=450 ... | Shell |
#! /bin/sh
rm junk* *.eps
| Shell |
#! /bin/sh
suplane len1=32 len2=32 len3=32 | sufilter > junk1.su
suxwigb < junk1.su wbox=350 hbox=450 title="Original data" &
sumedian < junk1.su par=parfile1 median=0 |
suxwigb wbox=350 hbox=450 xbox=550 title="Remove steepest sloping event" &
sumedian < junk1.su par=parfile2 median=0|
suxwigb wbox=350 hbox=450 ... | Shell |
#! /bin/sh
suspike nspk=1 ntr=1 it1=32 ix1=1 |
subfilt |
suspecfx |
suxgraph title="Butterworth Filter Spectrum" \
label1="Frequency (Hz)" label2="Amplitude" &
exit 0
| Shell |
#! /bin/sh
suspike nspk=1 ntr=1 it1=32 ix1=1 |
subfilt fstoplo=2.0 fpasslo=10.0 fpasshi=20.0 fstophi=25.0 |
suspecfx |
suxgraph title="Butterworth Filter Spectrum" \
label1="Frequency (Hz)" label2="Amplitude" &
exit 0
| Shell |
#! /bin/sh
rm junk* *.eps
| Shell |
#! /bin/sh
suspike nspk=1 ix1=32 it1=32 nt=64 ntr=64 > junk.spk
suximage title="Spike Data" wbox=350 hbox=350 xbox=10 ybox=400 < junk.spk &
sukfilter < junk.spk |
suximage title="K-Filtered Spike Data" \
ybox=400 wbox=350 hbox=350 xbox=400 &
sukfilter < junk.spk |
suspeck1k2 |
suximage title="K-Filter only" ybox=... | Shell |
#! /bin/sh
# clean up files made by demo
rm -f modeldata tmp
rm -f *.eps
exit
| Shell |
#! /bin/sh
WIDTH=350
XOFF1=380
XOFF2=760
HEIGHT=450
YOFF1=520
echo
echo
echo "HELPFUL HINT: click on any ximage window to get true colors."
echo
echo
echo ""
echo "Not making data---it is made by running Xselect1"
sleep 2
# Plot the model
suximage <modeldata perc=99 title="Shot Gathers" \
label1="Time (sec)" lab... | Shell |
#! /bin/sh
# First make the synthetic data for the selecting demo.
echo "Making synthetic data for demo"
######START OF MODEL######
REF1="1.0:-1,0.2;4,0.2"
REF2="1.0:-2,2.0199;3.5495,0"
REF3="1.0:-2,4.3955;3.2384,0"
REF4="1.0:-2,8.8603;3.1155,0"
dvdz=.015 # velocity gradient (dv/dz)
dvdx=-0.2 # velocity gradient (d... | Shell |
#! /bin/sh
WIDTH=350
XOFF1=380
XOFF2=760
XOFF2=860
HEIGHT=450
YOFF1=520
# First make the synthetic data for the demo.
echo
echo
echo
echo "Making synthetic data for demo"
######START OF MODEL######
REF1="1.0:-1,0.2;4,0.2"
REF2="1.0:-2,2.0199;3.5495,0"
REF3="1.0:-2,4.3955;3.2384,0"
REF4="1.0:-2,8.8603;3.1155,0"
dvdz=.... | Shell |
#! /bin/sh
WIDTH=350
XOFF1=380
XOFF2=660
HEIGHT=450
XOFF1=520
echo
echo
echo
echo "Not making data---it is made by running Xselect1"
sleep 2
# Window to full fold cdp region and sort by cdp
# See the Sort Tutorial for an illustration of using sugethw and susort
# to determine the full fold region.
suwind <modeldata k... | Shell |
#! /bin/sh
# Clean - recursively call Clean in the demo directories
# Test back-up dir first (at CWP must run on dobrin)
set -x
DEMODIR=$CWPROOT/src/demos
find . -name core -print -exec rm -f {} \;
find . -name \.nfs\* -print -exec rm -f {} \;
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
... | Shell |
#! /bin/sh
# Clean.sh - recursively call Clean.sh in the demo directories
# Test back-up dir first (at CWP must run on NeXT-net)
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
if
[ -f Clean.sh ]
then
Clean.sh
fi
rm -f *~ \#*\# .nfs* *.eps
cd ..
fi
done
# Take care of t... | Shell |
#!/bin/sh
#
# demo for dashed curves in psimage, pswigb and pswigp
#
CURVES="curve0,curve1,curve2,curve3,curve4,curve5,curve6,curve7,curve8,curve9,curve10,curve11"
NPAIRS=32,32,32,32,32,32,32,32,32,32,32,32
CURVEDASHES=0,1,2,3,4,5,6,7,8,9,10,11
suspike > spike.su
supsimage < spike.su \
curve=$CURVES npair=$NPAIRS ... | Shell |
#! /bin/sh
rm *.ps *.su
| Shell |
#! /bin/sh
suplane |
sufilter |
supsimage npair=3,3,3 curve=curve1,curve2,curve3 curvecolor=red,black,cyan \
> image.eps &
suplane |
sufilter |
supswigb npair=3,3,3 curve=curve1,curve2,curve3 curvecolor=red,black,cyan \
> wigb.eps &
suplane |
sufilter |
supswigp npair=3,3,3 curve=curve1,curve2,curve3 curvecolo... | Shell |
#! /bin/sh
suplane |
sufilter |
suximage npair=3,3,3 curve=curve1,curve2,curve3 curvecolor=red,black,cyan \
xbox=50 ybox=50 &
suplane |
sufilter |
suxwigb npair=3,3,3 curve=curve1,curve2,curve3 curvecolor=red,black,cyan \
xbox=650 ybox=50 &
suplane |
sufilter |
suxwigb npair=96 curve=curve4 curvecolor=red \
xb... | Shell |
#! /bin/sh
# Clean.sh - recursively call Clean.sh in the demo directories
# Test back-up dir first (at CWP must run on NeXT-net)
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
if
[ -f Clean.sh ]
then
Clean.sh
fi
rm -f *~ \#*\# .nfs* *.eps
cd ..
fi
done
# Take care of t... | Shell |
#! /bin/sh
rm *.ps
| Shell |
#! /bin/sh
# sample colormap: red, white, blue
suplane | sufilter | suaddnoise | supsimage bps=12 threecolor=1 \
wrgb=1.0,0,0 grgb=1.0,1.0,1.0 brgb=0,0,1.0 \
xbox=0.0 ybox=0 width=2 height=3 \
d1s=.1 d2s=.1 \
title="Red White Blue" \
titlesize=10 \
legend=1 > redwhiteblue.ps
# sample colormap: blue, white,red
sup... | Shell |
#! /bin/sh
# sample colormap: red, white, blue
suplane | sufilter | suaddnoise | supsimage bps=12 threecolor=1 \
whls=1.0,0,0 ghls=1.0,1.0,1.0 bhls=0,0,1.0 \
xbox=0.0 ybox=0 width=2 height=3 \
d1s=.1 d2s=.1 \
title="Red White Blue" \
titlesize=10 \
legend=1 > redwhiteblue.ps
# sample colormap: red, green, blue
su... | Shell |
#! /bin/sh
# sample colormap: red, white, blue
suplane | sufilter | suaddnoise | supsimage bps=12 threecolor=1 \
whls=1.0,0,0 ghls=0,1.0,0 bhls=0,0,1.0 \
wrgb=1.0,0,0 grgb=1.0,1.0,1.0 brgb=0,0,1.0 \
xbox=0.0 ybox=0 width=2 height=3 \
d1s=.1 d2s=.1 \
title="Red White Blue" \
titlesize=10 \
legend=1 > redwhiteblue.ps
... | Shell |
#! /bin/sh
#set -x
# input and output data
input1=data.su
output1=taup.su
output2=invtaup.su
output3=diff.su
# input parameters:
pmin=-0.0006 # minimum moveout in ms/m
pmax=0.0006 # maximum moveout in ms/m
dx=20 # horizontal sampling interval (m)
npoints=71 # number of poi... | Shell |
#! /bin/sh
rm *.su junk*
| Shell |
#! /bin/sh
# Generate synthetic data made up of linear reflectors and point
# diffractors. Random noise is also added
echo "Building model data"
output=data.su
sn=30
>$output
susynlv nt=600 dt=0.004 nxm=100 dxm=0.02 v00=2.5 fpeak=18 \
ref="0.09:0.0,0.3;0.6,0.3" \
ref="0.15:0.67,0.5;2.0,0.5" \
ref="0.4:0.0,1.3;0.... | Shell |
#! /bin/sh
# Clean.sh - recursively call Clean.sh in the demo directories
# Test back-up dir first (at CWP must run on NeXT-net)
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
if
[ -f Clean.sh ]
then
Clean.sh
fi
rm -f *~ \#*\# .nfs* *.eps
cd ..
fi
done
# Take care of t... | Shell |
#! /bin/sh
rm -f Esd* *.data* error input* noise* p* rand* rand* rel* rtau* sig* stau* *.su
| Shell |
#! /bin/sh
echo "preparing input cdp gather for SURADON"
sunhmospike | sufilter f=5,10,50,60 | \
suxwigb title="input data fitting parabolic model, horz axis offset in m" &
echo "computing forward parabolic transform with SURADON"
sunhmospike | sufilter f=5,10,50,60 | suradon | \
suxwigb \
title="forward parabol... | Shell |
#! /bin/sh
rm -f Esd* *.data* error input* noise* p* rand* rand* rel* rtau* sig* stau*
| Shell |
#! /bin/sh
# Generate synthetic data made up of linear reflectors and point
# diffractors. Random noise is also added
output=syn2.data.test
sn=30
>$output
susynlv nt=600 dt=0.004 nxm=100 dxm=0.02 v00=2.5 fpeak=18 \
ref="0.09:0.0,0.3;0.6,0.3" \
ref="0.15:0.67,0.5;2.0,0.5" \
ref="0.4:0.0,1.3;0.93,1.3" \
ref="0.4:... | Shell |
#! /bin/sh
set -x
# Shell to run a program to extract bed reflections from diffractions and
# noise for stacked data, with ps obtained via minimization of cross-entropy
# and slant stacks computed via radon transform
# input and output files
MYDATA=.
input1=syn2.data.test
output1=ref.data
output2=diff.data
separation... | Shell |
#! /bin/sh
# Clean created data files
rm -f vibrodata.* recon.* *.eps
exit 0
| Shell |
#! /bin/sh
# script for demonstrating sugabor
# The input data are chirps and the output are time-frequency plots
WIDTH=300
HEIGHT=400
WIDTHOFF1=0
WIDTHOFF2=315
WIDTHOFF3=630
WIDTHOFF4=945
HEIGHTOFF1=50
HEIGHTOFF2=500
perc=99
# bandwidth parameter (use the default)
band=
# vibrodata.1 100hz-5hz
suvibro f1=100 f2=5 t... | Shell |
#! /bin/sh
# script for demonstrating sugabor
# The input data are chirps and the output are time-frequency plots
demo=gabor
perc=99
# bandwidth parameter
band=.25
# vibrodata.1 100hz-5hz
suvibro f1=100 f2=5 tv=1.0 t1=.1 t2=.1 >vibrodata.1
supsgraph <vibrodata.1 perc=$perc \
title="Vibroseis Data: 100hz-5hz"\
la... | Shell |
#! /bin/sh
# Clean created data files
rm -f vibrodata* *.eps recon*
exit 0
| Shell |
#! /bin/sh
# sutvband -- reconstruct individual chirps from the sum of chirps
# produced by PSsugabor or Xsugabor
demo=tvband
perc=99
echo "Run PSsugabor or Xsugabor before running this script!"
## reconstruct 100hz-5hz trace
sutvband <vibrodata.4 tf=.4,.5,.7 \
f=50,55,100,110 f=40,45,50,55 f=5,10,40,45 >recon.1
s... | Shell |
#! /bin/sh
# script for demonstrating sugabor
# The input data are chirps and the output are time-frequency plots
WIDTH=300
HEIGHT=400
WIDTHOFF1=0
WIDTHOFF2=315
WIDTHOFF3=630
WIDTHOFF4=945
HEIGHTOFF1=50
HEIGHTOFF2=500
perc=99
# bandwidth parameter (use the default)
band=
# vibrodata.1 100hz-5hz
suvibro f1=100 f2=5 t... | Shell |
#! /bin/sh
# script for demonstrating sugabor
# The input data are chirps and the output are time-frequency plots
demo=gabor
perc=99
# bandwidth parameter
band=.25
# vibrodata.1 100hz-5hz
suvibro f1=100 f2=5 tv=1.0 t1=.1 t2=.1 >vibrodata.1
supsgraph <vibrodata.1 perc=$perc \
title="Vibroseis Data: 100hz-5hz"\
la... | Shell |
#! /bin/sh
# sutvband -- reconstruct individual chirps from the sum of chirps
# produced by PSsugabor or Xsugabor
WIDTH=300
HEIGHT=400
WIDTHOFF1=0
WIDTHOFF2=315
WIDTHOFF3=630
WIDTHOFF4=945
HEIGHTOFF1=30
HEIGHTOFF2=480
perc=99
echo "Run PSsugabor or Xsugabor before running this script!"
## reconstruct 100hz-5hz trace... | Shell |
#! /bin/sh
# Clean.sh - recursively call Clean.sh in the demo directories
# Test back-up dir first (at CWP must run on NeXT-net)
DEMODIR=$CWPROOT/src/demos/Time_Freq_Analysis
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
if
[ -f Clean.sh ]
then
echo $i
./Clean.sh
fi
rm... | Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2
# finite-difference modeling: part 1, the movie
# Author: John Stockwell
WIDTH=4000
HEIGHT=200
WIDTHOFF1=10
WIDTHOFF2=500
HEIGHTOFF1=50
HEIGHTOFF2=530
modelfile=model7.unif # input model file for unif2aniso
ninf=2 # number of inte... | Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2
# finite-difference modeling: part 1, the movie
# Author: John Stockwell
WIDTH=4000
HEIGHT=200
WIDTHOFF1=10
WIDTHOFF2=500
HEIGHTOFF1=50
HEIGHTOFF2=530
modelfile=model7.unif # input model file for unif2aniso
ninf=2 # number of in... | Shell |
#! /bin/sh
# Clean created data files
rm -f *.out
exit 0
| Shell |
#! /bin/sh
# compute and view group velocity dispersion images
suwind j=20 < hseis.out |
sugabor fmax=100 band=2 |
suxmovie n2=50 d2=2 perc=90 loop=1 sleep=100000
| Shell |
#! /bin/sh
# compute and view phase velocity dispersion
suwind j=50 < hseis.out |
suphasevel fv=1500 dv=25 nv=400 |
suamp mode=amp |
suximage cmap=hsv2 perc=99 style=normal wbox=800 hbox=400 \
label2="frequency (hz)" label1="Phase Velocity (km/s)" \
title="Phase velocity dispersion"
| Shell |
#! /bin/sh
# shell for viewing data using X-windows graphics
HEIGHT=300
WIDTH=300
XOFF1=0
YOFF1=0
XOFF2=450
YOFF2=450
# plot velocity profile
suximage < data.seis -geometry 400x400+0+0 \
label1="time (s)" label2="Midpoint (m)" \
wbox=$WIDTH hbox=$HEIGHT \
xbox=$XOFF1 ybox=$YOFF1 \
title="Input Data" &
suximage ... | Shell |
#! /bin/sh
# clean up after the demo
rm *.eps data*
| Shell |
#! /bin/sh
# create model data with susynlv
# The folowing shell generates 126 CMP gathers, each with 125 traces
#
REF1="1.0:-1,0.2;4,0.2"
REF2="1.0:-2,2.0199;3.5495,0"
REF3="1.0:-2,4.3955;3.2384,0"
REF4="1.0:-2,8.8603;3.1155,0"
REF5="1.0:-2,29.3564;3.1763,0"
##############################################
dvdz=.... | Shell |
#! /bin/sh
# PostScript output
PSPREV=$PSPREVIEWER
demo=1
# plot input data
supsimage < data.seis \
label1="time (s)" label2="Midpoint (m)" \
title="Input Data" > demo${demo}.1.eps
# plot output data
supsimage < data.divcor \
label1="time (s)" label2="Midpoint (m)" \
title="Conventional Diverg. Corr" > demo$... | Shell |
#! /bin/sh
vmig=5.0
dxcdp=.008
tmig=0.0
np=5
# conventional divergence correction
sudivcor < data.seis tmig=$tmig vmig=$vmig dxcdp=$dxcdp > data.divcor
exit 0
| Shell |
#! /bin/sh
# create model data with susynlv
# The folowing shell generates 126 CMP gathers, each with 125 traces
#
REF1="1.0:-1,0.2;4,0.2"
REF2="1.0:-2,2.0199;3.5495,0"
REF3="1.0:-2,4.3955;3.2384,0"
REF4="1.0:-2,8.8603;3.1155,0"
REF5="1.0:-2,29.3564;3.1763,0"
##############################################
dvdz=.... | Shell |
#! /bin/sh
HEIGHT=300
WIDTH=300
XOFF1=0
YOFF1=0
XOFF2=400
YOFF2=400
DATA=data.seis
suximage < data.seis perc=99 title="original data" \
hbox=$HEIGHT wbox=$WIDTH xbox=$XOFF1 ybox=$YOFF1 &
sugain < data.seis tpow=1 | suximage perc=99 title=" tpow=1 " \
hbox=$HEIGHT wbox=$WIDTH xbox=$XOFF2 ybox=$YOFF1 &
sugain < ... | Shell |
#! /bin/sh
# Clean - recursively call Clean in the demo directories
# Test back-up dir first (at CWP must run on dobrin)
DEMODIR=$CWPROOT/src/demos
find . -name core -print -exec rm -f {} \;
find . -name \.nfs\* -print -exec rm -f {} \;
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
... | Shell |
#! /bin/sh
vmig=5.0
dxcdp=.008
tmig=0.0
np=5
# conventional divergence correction
sudivcor < data.seis tmig=$tmig vmig=$vmig dxcdp=$dxcdp > data.divcor
# dip dependent divergence correction
sudipdivcor < data.seis np=$np tmig=$tmig vmig=$vmig dxcdp=$dxcdp > data.dipdivcor
exit 0
| Shell |
#! /bin/sh
# shell for viewing data using X-windows graphics
WIDTH=300
HEIGHT=300
XOFF1=0
YOFF1=0
XOFF2=450
YOFF2=450
# plot velocity profile
suximage < data.seis \
label1="time (s)" label2="Midpoint (m)" \
hbox=$HEIGHT wbox=$WIDTH \
xbox=$XOFF1 ybox=$YOFF1 \
title="Input Data" &
suximage < data.divcor \
label... | Shell |
#! /bin/sh
# clean up after the demo
rm *.eps data*
| Shell |
#! /bin/sh
# create model data with susynlv
# The folowing shell generates 126 CMP gathers, each with 125 traces
#
REF1="1.0:-1,0.2;4,0.2"
REF2="1.0:-2,2.0199;3.5495,0"
REF3="1.0:-2,4.3955;3.2384,0"
REF4="1.0:-2,8.8603;3.1155,0"
REF5="1.0:-2,29.3564;3.1763,0"
##############################################
dvdz=.... | Shell |
#! /bin/sh
# PostScript output
PSPREV=$PSPREVIEWER
demo=1
# plot input data
supsimage < data.seis \
label1="time (s)" label2="Midpoint (m)" \
title="Input Data" > demo${demo}.1.eps
# plot output data
supsimage < data.divcor \
label1="time (s)" label2="Midpoint (m)" \
title="Conventional Diverg. Corr" > demo$... | Shell |
#! /bin/sh
# Clean.sh - recursively call Clean.sh in the demo directories
# Test back-up dir first (at CWP must run on NeXT-net)
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
if
[ -f Clean.sh ]
then
Clean.sh
fi
rm -f *~ \#*\# .nfs* *.eps
cd ..
fi
done
# Take care of t... | Shell |
#! /bin/sh
# Here is how to run linrort for linearized Rpp, Rps coefficients
# using three examples; always uncomment the desired example
# The file angle.in is the part of this demo script.
## Example 1: HTIxHTI medium, the symmetry axis of the lower HTI has
## azimuth 30 deg (i.e., is rotated by kappa=30 deg with... | Shell |
#! /bin/sh
rm *.out
exit 0
| Shell |
#! /bin/sh
# --- Example shell for refRealVTI.c
# --- real reflection coefficients
# --- for VTI media or symmetry planes
# --- of HTI media or a combination of
# --- those.
# --- Input parameters are Thomsen parameters
# --- (i.e., anisotropy parameters defined
# --- with respect to the symmetry axis)
#
# --- Andr... | Shell |
#! /bin/sh
rm outpar* *.bin
exit 0
| Shell |
#! /bin/sh
# set -x
#B=${HOME}/Release/bin
# Example-shell for hti2stiff.c
sign=1 # sign of c13+c55 ( for most materials sign=1)
outpar=/dev/tty # output to screen
# to review definition of HTI parameters, see
# CWP-235 Reflection coeff and azimuthal AVO
# in anisotropic media by Andreas Rueger
h... | Shell |
#! /bin/sh
# set -x
#B=${HOME}/Release/bin
#temp=hudson.data
# Example-shell for hudson.c
# gas filling
fill=0
# crack density
cdens=0.05
# aspect ratio
aspect=0.001
hudson vp=3.67 vs=2.0 rho=2.41 \
fill=$fill cdens=$cdens aspect=$aspect \
outpar=/dev/tty
exit
| Shell |
#! /bin/sh
# --- Example shell for refRealHTI.c
# --- real reflection coefficients
# --- for interfaces between two HTI
# --- media with throughgoing symmetry
# --- planes. Coefficients can be computed
# --- at arbitrary azimuthal direction
# --- Input parameters are Thomsen parameters
# --- (i.e., anisotropy paramet... | Shell |
#! /bin/sh
vp=2 # symm.axis p-wave velocity
vs=1 # symm.axis s-wave velocity
eps=0.1 # Thomsen's (generic) epsilon
gamma=0.3 # Thomsen's generic gamma
weak=... | Shell |
#! /bin/sh
vp=2 # symm.axis p-wave velocity
vs=1 # symm.axis s-wave velocity
eps=0.1 # Thomsen's (generic) epsilon
gamma=0.3 # Thomsen's generic gamma
weak=... | Shell |
#! /bin/sh
# Clean.sh - Remove files created by UTM demos
# Nils Maercklin, April 2007
# Remove files created by Utmconv.sh:
rm -f lonlat.txt lonlat1.txt utm1.txt utm2.txt
# Remove files created by Xsuutm.sh and PSsuutm.sh:
rm -f lldata.su utmdata.su coords.bin llplot.bin utmplot.bin
rm -f llplot.ps utmplot.ps
exit ... | Shell |
#!/bin/sh
# Utmconv.sh - Demo shell script for the program UTMCONV
# Author: Nils Maercklin, April 2007
#
# This demo script includes 4 examples for coordinate conversion with
# UTMCONV. Calculated coordinates are listed in the terminal window.
# Example 1: Convert lon/lat to UTM using defaults of UTMCONV
# Example 2: ... | Shell |
#!/bin/sh
# PSsuutm.sh - Demo shell script for the program SUUTM
# Author: Nils Maercklin, April 2007
#
# This demo shell script provides an example for UTM projections
# of coordinates stored in the SEG-Y header (PostScript plots).
# Typically, you will have already a seismic dataset with
# longitudes and latitudes i... | Shell |
#!/bin/sh
# Xsuutm.sh - Demo shell script for the program SUUTM
# Author: Nils Maercklin, April 2007
#
# This demo shell script provides an example for UTM projections
# of coordinates stored in the SEG-Y header (X window plots).
# Typically, you will have already a seismic dataset with
# longitudes and latitudes in d... | Shell |
#! /bin/sh
# Clean.sh - recursively call Clean.sh in the demo directories
# Test back-up dir first (at CWP must run on NeXT-net)
# Take care of subdirectories
for i in `ls`
do
if
[ -d $i ]
then
cd $i
if
[ -f Clean.sh ]
then
Clean.sh
fi
rm -f *~ \#*\# .nfs* *.eps
cd ..
fi
done
# Take care of t... | Shell |
#! /bin/sh
# view model in the file "model"
# Plot the model
nx=100 fx=0 dx=80
nz=110 fz=0 dz=50
unif2 <model ninf=4 nx=$nx nz=$nz dx=$dx dz=$dz \
v00=5000.0,6000.0,8000.0,10000.0,15000.0 |
psimage title="Wavespeed profile" n1=$nz f1=$fz \
d1=$dz n2=$nx f2=$fx d2=$dx >model.eps
echo
echo "Output is PostScri... | Shell |
#! /bin/sh
# make data for NMO demo, goes into file: modeldata
# Note that since dsx=dgx, full fold is at most 32 (NOT 64),
# but in this quick demo we have only 12 shots, so fold is at most 12
######Work in kft instead of km (synlv puts 10^3 in header fields)######
# ref="1:1,2;4,2" reflector(s): "amplitude:x... | Shell |
#! /bin/sh
# display velocity scans and "picks"
# Look at velocity scans -- in reality would make picks interactively
nv=120
dv=75.0
fv=4000.0
fold=12 # only have 12 shots, otherwise would be 64/2=32 for dsx=dgx
nout=501 # ns
dxout=0.004
for cdp in 1500 2000 2500 3000
do
suwind <modeldata key=cdp min=$cdp max=$cdp ... | Shell |
#! /bin/sh
# clean up files made by NMO demo
# deliberately leave stkvel.p in place in case Xvelocity not run
rm -f modeldata nmodata stackdata panel*
rm -f unisam*.p vrmst* vintt* vintxz* vintplot* vintzx* unisam* junk*
rm -f *.eps mpicks* stkvel* par.*
exit
| Shell |
#! /bin/sh
# view model in the file "model"
WIDTH=300
HEIGHT=400
WIDTHOFF=0
HEIGHTOFF=50
# Plot the model
nx=100 fx=0 dx=80
nz=110 fz=0 dz=50
unif2 <model ninf=4 nx=$nx nz=$nz dx=$dx dz=$dz \
v00=5000.0,6000.0,8000.0,10000.0,15000.0 |
ximage n1=$nz f1=$fz d1=$dz n2=$nx f2=$fx d2=$dx windowtitle="Model" \
legend=1 ... | Shell |
#! /bin/sh
# do and display nmo and stack
# Do NMO
sunmo <modeldata par=stkvel.p1 >nmodata
# Display NMO
suwind <nmodata key=sx s=1400 j=250 |
sugain tpow=2 gpow=0.5 |
supsimage label1="Time" label2="Gather" \
title="Every 5th Shot Record After NMO" \
windowtitle="NMO" legend=1 units="amplitude" \
f2=1 d2=0.07812... | Shell |
#! /bin/sh
#Plot the entire data set
# Note: 64 offsets at nominal unit spacing (tracl), so d2 = 1/64
supsimage <modeldata perc=99 title="Shot Gathers"\
label1="Time (sec)" label2="Shot Gather" f2=1 d2=0.015625 >allshots.eps
# Plot some shot records (d2=5/64)
suwind <modeldata key=sx s=1400 j=250 |
sugain tpow=2 gp... | Shell |
#! /bin/sh
WIDTH=300
WIDTHOFF=315
HEIGHT=400
HEIGHTOFF=50
# Plot the entire data set (for debugging, not shown here)
# Note: 64 offsets at nominal unit spacing (tracl), so d2 = 1/64
#suximage <modeldata perc=99 title="Shot Gathers"\
# label1="Time (sec)" label2="Shot Gather" f2=1 d2=0.015625 \
# wbox=$WIDTH hbox=$HEI... | Shell |
#! /bin/sh
WIDTH=300
WIDTHOFF=50
WIDTHOFF2=50
HEIGHT=600
HEIGHTOFF=50
HEIGHTOFF2=250
HEIGHTOFF3=500
HEIGHT2=200
WIDTH2=600
vrmst=vrmst.bin
vintt=vintt.bin
vinttav=vinttav.bin
rmspar=vrmst.par
intpar=vintt.par
vinttplot=vinttplot.par
unipar=unisam.par
vinttuni=vinttuni.bin
vintxz=vintxz.bin
vintzx=vintzx.bin
# plot ... | Shell |
#! /bin/sh
# Velocity analyses for the cmp gathers
# Authors: Dave Hale, Jack K. Cohen, with modifications by John Stockwell
# NOTE: Comment lines preceeding user input start with ##
#set -x
## Set parameters
velpanel=modeldata # gained and deconvolved seismic data,
# sorted in cdp's
vpicks=stkvel.p1 # output f... | Shell |
#! /bin/sh
# do and display nmo and stack
WIDTH=300
WIDTHOFF3=630
WIDTHOFF4=945
HEIGHT=400
HEIGHTOFF=50
# Do NMO
sunmo <modeldata par=stkvel.p1 >nmodata
# Display NMO
suwind <nmodata key=sx s=1400 j=250 |
sugain tpow=2 gpow=0.5 |
suximage label1="Time" label2="Gather" \
title="Every 5th Shot Record After NMO" \
wi... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.