code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
# Model 3: Simple 4 media model
# model number
model=3
# data directory (optional, if not set data will go into current directory
datadir=../datadir/
psfile=${datadir}model${model}.eps
datafile=${datadir}model${model}.data
##### Build 4 media model
#### model shown in Figure 4 of the GBmod-paper
##... | Shell |
#! /bin/sh
# Model 5: Salt dome model
set +x
# model number
model=5
# data directory (optional, if not set data will go into current directory)
datadir=../datadir/
datafile=${datadir}model${model}.data
##### Build the dome salt model.
##### Note how sedge is used to generate a continuous velocity field
trimodel xmin... | Shell |
#! /bin/sh
# Model 2 : two constant sloth media in contact with a syncline/anticline
# boundary
# model number
model=2
#data directory (optional, if not set data will go into current directory)
datadir=../datadir/
psfile=${datadir}model${model}.eps
datafile=${datadir}model${model}.data
##### Build two media,... | Shell |
#! /bin/sh
# Model 5: Salt dome model
# model number
model=5
# data directory (optional, if not set data will go into current directory)
datadir=../datadir/
psfile=${datadir}model${model}.eps
datafile=${datadir}model${model}.data
##### Build the dome salt model.
##### Note how sedge is used to generate a continuous... | Shell |
#! /bin/sh
rm *.eps *.data junk*
| Shell |
#! /bin/sh
# Model 4: Cerveny (multi layer model with a lens and fault)
# model number
model=4
# data directory (optional, if not set data will go into current directory)
datadir=../datadir/
datafile=${datadir}model${model}.data
##### Built the Cerveny model
##### note: this is the model that appears in figure 1 o... | Shell |
#! /bin/sh
# Model 2 : two constant sloth media in contact with a syncline/anticline
# boundary
# model number
model=2
#data directory (optional, if not set data will go into current directory)
datadir=../datadir/
datafile=${datadir}model${model}.data
##### Build two media, syncline/anticline model
### note: ... | Shell |
#! /bin/sh
# Model 1 - constant sloth (and hence constant wavespeed) medium
# model number
model=1
# data directory (optional, if unset put datafiles in current directory)
datadir=../datadir/
datafile=${datadir}model${model}.data
##### Constant Sloth model
trimodel xmin=0 zmin=0 xmax=1.0 zmax=1 \
1 xedge=0,1 \
z... | Shell |
#! /bin/sh
# Model 1 - constant sloth (and hence constant wavespeed) medium
# model number
model=1
# data directory (optional, if unset put datafiles in current directory)
datadir=../datadir/
psfile=${datadir}model${model}.eps
datafile=${datadir}model${model}.data
##### Constant Sloth model
trimodel xmin=0 zmin=0... | Shell |
#! /bin/sh
# Model 3: Simple 4 media model
# model number
model=3
# data directory (optional, if not set data will go into current directory
datadir=../datadir/
datafile=${datadir}model${model}.data
##### Build 4 media model
#### model shown in Figure 4 of the GBmod-paper
#####
trimodel xmin=0 zmin=0 xmax=2.0... | Shell |
#! /bin/sh
# Model 4: Cerveny (multi layer model with a lens and fault)
# model number
model=4
# data directory (optional, if not set data will go into current directory)
datadir=../datadir/
psfile=${datadir}model${model}.eps
datafile=${datadir}model${model}.data
##### Built the Cerveny model
##### note: this is t... | Shell |
#! /bin/sh
cd datadir
rm *
cd ..
for i in *
do
if test -d $i
then
cd $i
Clean.sh
cd ..
fi
done
exit 0
| Shell |
#! /bin/sh
#### Run GBmod with Xwindow Graphics
# model
model=3
# data directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data
rayendsfile=${datadir}rayend.data
rayfile=${datadir}ray.data
wavefile=${datadir}wave.data
wavefilet=${datadir}wavet.data
nangle=150 nxz=201 fangle=-45 langle=45... | Shell |
#! /bin/sh
#### Run GBmod with Xwindow Graphics
#### Create Figure 8 in the GBmod paper
#
model=4
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data
rayendsfile=${datadir}rayend.data
rayfile=${datadir}ray.data
fresnelfile=${datadir}fresnel.data
nangle=2 nxz=201... | Shell |
#! /bin/sh
rm *.eps *.data junk* outpar
| Shell |
#! /bin/sh
if test "$PSPREVIEWER" = ""
then
echo "Environment variable PSPREVIEWER not set" ; exit 1
fi
# model number
model=3
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data
modelpsfile=${datadir}model${model}.eps
rayendsfile=${datadir}rayend.data
rayfile=$... | Shell |
#! /bin/sh
#### Run GBmod with CWP PostScript Graphics
if test "$PSPREVIEWER" = ""
then
echo "Environment variable PSPREVIEWER not set" ; exit 1
fi
# model number
model=3
# data directory
datadir=../datadir/
modelfile=${datadir}model${model}.data
modelpsfile=${datadir}model${model}.eps
rayendsfile=${datadir}rayend.... | Shell |
#! /bin/sh
#### Run GBmod with CWP PostScript Graphics
#### Create Figure 7 in the GBmod paper
if test "$PSPREVIEWER" = ""
then
echo "Environment variable PSPREVIEWER not set" ; exit 1
fi
# model number
model=4
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data... | Shell |
#! /bin/sh
#### Run GBmod with Xwindow Graphics
#### Create Figure 7 in the GBmod paper
# model number
model=4
# datadir directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data
rayendsfile=${datadir}rayend.data
rayfile=${datadir}ray.data
nangle=150 nxz=201 fangle=-45 langle=45
target=5... | Shell |
#! /bin/sh
#### Run GBmod with CWP PostScript Graphics
#### Create Figure 6 in the GBmod paper
if test "$PSPREVIEWER" = ""
then
echo "Environment variable PSPREVIEWER not set" ; exit 1
fi
# model number
model=3
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.dat... | Shell |
#! /bin/sh
#### Run GBmod with Xwindow Graphics
#### Create Figure 8 in the GBmod paper
# model number
model=3
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data
rayendsfile=${datadir}rayend.data
rayfile=${datadir}ray.data
nangle=20 nxz=201 nt=20 fangle=-17 lan... | Shell |
#! /bin/sh
#### Run GBmod with Xwindow Graphics
# model number
model=3
datadir=../datadir/
rayendsfile=${datadir}rayend.data
rayfile=${datadir}ray.data
modelfile=${datadir}model${model}.data
nangle=50 nxz=301 fangle=30 langle=45
#### generate modelfile
#../Models/Xmodel${model}
#### shoot the rays
triray <$mod... | Shell |
#! /bin/sh
#### Run GBmod with CWP PostScript Graphics
#### Create Figure 8 in the GBmod paper
if test "$PSPREVIEWER" = ""
then
echo "Environment variable PSPREVIEWER not set" ; exit 1
fi
# model number
model=4
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data... | Shell |
#! /bin/sh
#### Run GBmod with CWP PostScript Graphics
#### Create Figure 5 in the GBmod paper
# model number
model=3
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data
rayendsfile=${datadir}rayend.data
rayfile=${datadir}ray.data
wavefile=${datadir}wave.data
wav... | Shell |
#! /bin/sh
#### Run GBmod with CWP PostScript Graphics
#### Create Figure 8 in the GBmod paper
if test "$PSPREVIEWER" = ""
then
echo "Environment variable PSPREVIEWER not set" ; exit 1
fi
# model
model=3
#### find the right directory
datadir=../datadir/
#### aux files
modelfile=${datadir}model${model}.data
modelp... | Shell |
#! /bin/sh
# Run GBmod with Xwindow Graphics
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
datafile=${datadir}model.data
##### Build syncline model (Figure 14)
trimodel xmin=-1 zmin=0 xmax=5.0 zmax=... | Shell |
#! /bin/sh
#### Shoot rays (Figure 14)
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
rayfile=${datadir}rays.data
nangle=130 fangle=-6... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. plot ray paths
#### 3. generate a common shot record
Model
Rays
Beams
exit
| Shell |
#! /bin/sh
#### Create Figure 15 in the GBmod-paper
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir
rayendsfile=${datadir}/rayends.data
#### generate and plot commom shot record
gbbeam<$rayendsfile \
... | Shell |
#! /bin/sh
# Run GBmod with Xwindow Graphics
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
datafile=${datadir}model.data
##### Built salt dome model (Figure 3)
trimodel xmin=0 zmin=0 xmax=8 zmax=4 m... | Shell |
#! /bin/sh
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
rayfile=${datadir}rays.data
nxz=201 nangle=130
#### shoot the rays
trira... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create salt dome model
#### 2. plot raypaths
#### 3. generate common shot data
Model
Rays
Beams
exit 0
| Shell |
#! /bin/sh
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
data=../../datadir
rayendsfile=${data}/rayends.data
#### generate and plot common shot record
gbbeam<$rayendsfile \
bw=0 xg=0,8 zg=0,0 ng=101 lscale=0.8 \
... | Shell |
#! /bin/sh
# Run GBmod with PSwindow graphics
datadir=../../datadir/
modelfile=${datadir}model.data
trimodel xmin=-1 zmin=0 xmax=5.0 zmax=3.0 maxangle=10 \
1 xedge=-1,0,1,2,3,4,5 \
zedge=0,0,0,0,0,0,0 \
sedge=0,0,0,0,0,0,0 \
2 xedge=-1.,0.0,0.50,1.0,1.5,1.8,2.0,2.5,3.0,3.5,4.0,5 \
zedge=0.3,0.3,0.31,0.3,.37,... | Shell |
#! /bin/sh
#### Shoot rays (Figure 20)
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
rayfile=${datadir}rays.data
nangle=260 fangle=-6... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. plot ray paths (all reflected rays)
#### 3. generate common shot record
Model
Rays
Beams
exit 0
| Shell |
#! /bin/sh
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
##### Generate Common-shot section
nt=151 dt=0.025 bw=0 ft=0.0 ng=101 lsca... | Shell |
#! /bin/sh
#### Create Figure 16 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
##### Generate Zero-offset section
nangle=130 nxz=401 fangle=... | Shell |
#! /bin/sh
# Run GBmod with Xwindow Graphics
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
data=../../datadir/
datafile=${data}model.data
##### Built syncline model (Figure 14)
trimodel xmin=-1 zmin=0 xmax=5.0 zmax=2.0 ma... | Shell |
#! /bin/sh
#### Create Figure 17 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
##### Generate Finite-Offset section
fg=0.6
nangle=130 nxz=40... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. generate Zero-offset section
#### 3. generate Finite-offset section
Model
Zero
Finite
exit 0
| Shell |
#! /bin/sh
rm */outpar
| Shell |
#! /bin/sh
#### Create Figure 16 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
##### Generate Zero-offset section
nangle=130 nxz=401 fangle... | Shell |
#! /bin/sh
# Run GBmod with Xwindow Graphics
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir/
datafile=${datadir}model.data
##### Build syncline model (Figure 14)
trimodel xmin=-1 zmin=0 xmax=5.0 zmax... | Shell |
#! /bin/sh
#### Create Figure 17 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
##### Generate Finite-Offset section
fg=0.6
nangle=130 nxz=4... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. generate Zero-offset section
#### 3. generate Finite-offset section
Model
Zero
Finite
exit 0
| Shell |
#! /bin/sh
#### Create Figure 21 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
data=../../datadir/
modelfile=${data}model.data
##### Generate Zero-offset section
nangle=260 fangle=-65 langle=65... | Shell |
#! /bin/sh
# Run GBmod with Xwindow graphics
datadir=../../datadir/
modelfile=${datadir}model.data
trimodel xmin=-1 zmin=0 xmax=5.0 zmax=3.0 maxangle=10 \
1 xedge=-1,0,1,2,3,4,5 \
zedge=0,0,0,0,0,0,0 \
sedge=0,0,0,0,0,0,0 \
2 xedge=-1.,0.0,0.50,1.0,1.5,1.8,2.0,2.5,3.0,3.5,4.0,5 \
zedge=0.3,0.3,0.31,0.3,.37,.... | Shell |
#! /bin/sh
#### Create Figure 19 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
data=../../datadir/
modelfile=${data}model.data
##### Generate Zero-offset section
nangle=131 fangle=-65 langle=65... | Shell |
#! /bin/sh
#### Create Figure 21 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
data=../../datadir/
modelfile=${data}model.data
##### Generate Zero-offset section
nangle=131 fangle=-65 langle=65... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. generate zero-offset data including all rays
#### 3. generate zero-offset data including only reflected rays
#### 4. as (3), but higher ray coverage
Model
Seis1
Seis2
Seis3
exit 0
| Shell |
#! /bin/sh
#### Create Figure 21 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
data=../../datadir/
modelfile=${data}model.data
##### Generate Zero-offset section
nangle=260 fangle=-65 langle=65
... | Shell |
#! /bin/sh
# Run GBmod with Xwindow graphics
data=../../datadir/
datafile=${data}model.data
trimodel xmin=-1 zmin=0 xmax=5.0 zmax=3.0 maxangle=10 \
1 xedge=-1,0,1,2,3,4,5 \
zedge=0,0,0,0,0,0,0 \
sedge=0,0,0,0,0,0,0 \
2 xedge=-1.,0.0,0.50,1.0,1.5,1.8,2.0,2.5,3.0,3.5,4.0,5 \
zedge=0.3,0.3,0.31,0.3,.37,.68,.63,... | Shell |
#! /bin/sh
#### Create Figure 19 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
data=../../datadir/
modelfile=${data}model.data
##### Generate Zero-offset section
nangle=131 fangle=-65 langle=65
... | Shell |
#! /bin/sh
#### Create Figure 21 in the GBmod documentation
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
data=../../datadir/
modelfile=${data}model.data
##### Generate Zero-offset section
nangle=131 fangle=-65 langle=65
... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. generate zero-offset data including all rays
#### 3. generate zero-offset data including only reflected rays
#### 4. as (3), but higher ray coverage
Model
Seis1
Seis2
Seis3
exit 0
| Shell |
#! /bin/sh
# Run GBmod with Xwindow Graphics
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir/
datafile=${datadir}model.data
##### Build syncline model (Figure 14)
trimodel xmin=-1 zmin=0 xmax=5.0 zmax... | Shell |
#! /bin/sh
#### Shoot rays (Figure 14)
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
rayfile=${datadir}rays.data
nangle=130 fangle=-... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. plot ray paths
#### 3. generate a common shot record
Model
Rays
Beams
exit
| Shell |
#! /bin/sh
#### Create Figure 15 in the GBmod-paper
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
datadir=../../datadir
rayendsfile=${datadir}/rayends.data
#### generate and plot commom shot record
gbbeam<$rayendsfile \
... | Shell |
#! /bin/sh
# Run GBmod with Xwindow Graphics
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
datafile=${datadir}model.data
##### Built salt dome model (Figure 3)
trimodel xmin=0 zmin=0 xmax=8 zmax=4 m... | Shell |
#! /bin/sh
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
rayfile=${datadir}rays.data
nxz=201 nangle=130
#### shoot the rays
trira... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create salt dome model
#### 2. plot raypaths
#### 3. generate common shot data
Model
Rays
Beams
exit 0
| Shell |
#! /bin/sh
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL PSdemo
#------------------------------------------------
data=../../datadir
rayendsfile=${data}/rayends.data
#### generate and plot common shot record
gbbeam<$rayendsfile \
bw=0 xg=0,8 zg=0,0 ng=101 lscale=0.8 \
... | Shell |
#! /bin/sh
# Run GBmod with Xwindow graphics
datadir=../../datadir/
modelfile=${datadir}model.data
trimodel xmin=-1 zmin=0 xmax=5.0 zmax=3.0 maxangle=10 \
1 xedge=-1,0,1,2,3,4,5 \
zedge=0,0,0,0,0,0,0 \
sedge=0,0,0,0,0,0,0 \
2 xedge=-1.,0.0,0.50,1.0,1.5,1.8,2.0,2.5,3.0,3.5,4.0,5 \
zedge=0.3,0.3,0.31,0.3,.37,.... | Shell |
#! /bin/sh
#### Shoot rays (Figure 20)
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
rayfile=${datadir}rays.data
nangle=260 fangle=-65... | Shell |
#! /bin/sh
#### Control shell to
#### 1. create syncline model
#### 2. plot ray paths (all reflected rays)
#### 3. generate common shot record
Model
Rays
Beams
exit 0
| Shell |
#! /bin/sh
#------------------------------------------------
# RUN THIS SHELL WITH MASTER SHELL Xdemo
#------------------------------------------------
datadir=../../datadir/
modelfile=${datadir}model.data
rayendsfile=${datadir}rayends.data
##### Generate Common-shot section
nt=151 dt=0.025 bw=0 ft=0.0 ng=101 lscal... | Shell |
#! /bin/sh
# Clean created data files
rm -f *.eps
exit
| Shell |
#! /bin/sh
# suimp2d, suimp3d --- impulsive seismic data over a point scatterer 2D,3D
WIDTH=420
HEIGHT=700
XOFF1=0
XOFF2=430
XOFF3=860
YOFF=150
echo "The third of three windows in this demo takes some time to come up"
echo
## Example 1: default -- one record zero offset above a point scatterer
## one shot at (0,0)
#... | Shell |
#! /bin/sh
# suimp2d, suimp3d --- impulsive seismic data over a point scatterer 2D,3D
# Author: John Stockwell, 7 Jun 1993
demo=spike
## Example 1: default -- one record zero offset above a point scatterer
## one shot at (0,0)
## one receiver at (0,0)
## scatterer at (1000,1000)
suimp2d x0=0 |
supswigp title="Sing... | Shell |
#! /bin/sh
# Clean.sh created data files
rm -f *.out junk* *.dir *.data *.eps *.ps density* velocity* *reflection*
exit
| Shell |
#! /bin/sh
set -x
#
# This script produces a velocity model for the modelling
#
# To view the model type:
# ximage < velocity.dir n1=100
#
#
# Stig-Kyrre Foss, 29.Oct 2001
ninf=1 nx=100 nz=100
dx=5 dz=5
fx=0.0 fz=0.0
v00=1500.,2500.
dvdx=0.0
npmax=100
dvdz=0.0,0.0
unif2 < boundaries > vpsmtest.dir nx=$nx nz=$nz ni... | Shell |
#! /bin/sh
nt=250 indexdt=0 dt=0.001 time=0.25
## THE MODEL:
nx=100 nz=100 dx=5.0 dz=5.0
## THE SOURCE:
fpeak=30
sx=50 sz=10
# source=1 means that it is a point source
source=1
# Source information (index=direction of source)
indexux=0 indexuy=0 indexuz=1 wavelet=2
# impulse is 1 is a single source
impu... | Shell |
#! /bin/sh
nt=250 indexdt=0 dt=0.001 time=0.25
## THE MODEL:
nx=100 nz=100 dx=5.0 dz=5.0
## THE SOURCE:
fpeak=30
sx=50 sz=10
# source=1 means that it is a point source
source=1
# Source information (index=direction of source)
indexux=0 indexuy=0 indexuz=1 wavelet=2
# impulse is 1 is a single source
impu... | 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
#
modelfile=model11.unif # input model file for unif2aniso
ninf=4 # number of interfaces (surface counts)
x0=0,0,0,0 # x-position(s) for vp00,vs00,rho00, etc.
z0=0,150,156 # z-position(s) for vp00,vs00,rho00, etc.
nz=400 # ... | Shell |
#! /bin/sh
rm *out* *.su* tmp *.ps *_file *.eps
| Shell |
#! /bin/sh
# waveguide - smoothed boundaries between waveguide and media
modelfile=model7.unif # input model file for unif2aniso
ninf=2 # number of interfaces (surface counts)
x0=0,0,0 # x-position(s) for vp00,vs00,rho00, etc.
z0=0,1000,1100 # z-position(s)... | Shell |
#! /bin/sh
# This input file reproduces the output in Juhlin (1995) Figure 6a.
# Note that the source in Table 1 in Juhlin (1995) is given as g(t), but should be f(t)
# be f(t), i.e. the derivative of the Gaussian (dg)
# Since the dg source waveform is defined by its avg frequency content
# favg should be set to 24.15 ... | Shell |
#! /bin/sh
# This input file reproduces the output in Juhlin (1995) Figure 6a.
# Note that the source in Table 1 in Juhlin (1995) is given as g(t), but should be f(t)
# be f(t), i.e. the derivative of the Gaussian (dg)
# Since the dg source waveform is defined by its avg frequency content
# favg should be set to 24.15 ... | Shell |
#! /bin/sh
# This input file reproduces the output in Juhlin (1995) Figure 6a.
# Note that the source in Table 1 in Juhlin (1995) is given as g(t), but should be f(t)
# be f(t), i.e. the derivative of the Gaussian (dg)
# Since the dg source waveform is defined by its avg frequency content
# favg should be set to 24.15 ... | Shell |
#! /bin/sh
# This input file reproduces the output in Juhlin (1995) Figure 8b.
# Note that the source in Table 1 in Juhlin (1995) is given as g(t), but should be f(t)
# be f(t), i.e. the derivative of the Gaussian (dg)
# Since the dg source waveform is defined by its avg frequency content
# favg should be set to 17.077... | Shell |
#! /bin/sh
#
modelfile=model10.unif # input model file for unif2aniso
ninf=3 # number of interfaces (surface counts)
x0=0,0 # x-position(s) for vp00,vs00,rho00, etc.
z0=0,1800 # z-position(s) for vp00,vs00,rho00, etc.
nz=600 # size o... | Shell |
#! /bin/sh
# This input file reproduces the output in Juhlin (1995) Figure 8b.
# Note that the source in Table 1 in Juhlin (1995) is given as g(t), but should be f(t)
# be f(t), i.e. the derivative of the Gaussian (dg)
# Since the dg source waveform is defined by its avg frequency content
# favg should be set to 17.077... | Shell |
#! /bin/sh
# This input file reproduces the output in Juhlin (1995) Figure 6b.
# Note that the source in Table 1 in Juhlin (1995) is given as g(t), but should be f(t)
# be f(t), i.e. the derivative of the Gaussian (dg)
# Since the dg source waveform is defined by its avg frequency content
# favg should be set to 24.15 ... | Shell |
#! /bin/sh
#
modelfile=model6.unif # input model file for unif2aniso
ninf=4 # number of interfaces (surface counts)
x0=0,0,0,0 # x-position(s) for vp00,vs00,rho00, etc.
z0=0,150,156 # z-position(s) for vp00,vs00,rho00, etc.
nz=200 # s... | Shell |
#! /bin/sh
#
modelfile=model6.unif # input model file for unif2aniso
ninf=4 # number of interfaces (surface counts)
x0=0,0,0,0 # x-position(s) for vp00,vs00,rho00, etc.
z0=0,150,156 # z-position(s) for vp00,vs00,rho00, etc.
nz=400 # s... | Shell |
#! /bin/sh
# waveguide - sharp boundaries between layer and surrounding media
modelfile=model7.unif # input model file for unif2aniso
ninf=2 # number of interfaces (surface counts)
x0=0,0,0 # x-position(s) for vp00,vs00,rho00, etc.
z0=0,1000,1100 # z-positi... | Shell |
#! /bin/sh
# Clean.sh created data files
rm -f *.out junk* *.eps *.ps density* velocity* snaps*
exit
| Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2
# finite-difference modeling: part 1, the movie
# Author: John Stockwell
WIDTH=450
HEIGHT=450
WIDTHOFF1=50
WIDTHOFF2=530
HEIGHTOFF1=50
HEIGHTOFF2=530
n1=500 d1=5 f1=0.0 label1="Depth (km)"
n2=500 d2=5 f2=0.0 label2="Distance (km)"
xs=1250 zs=1250 hsz=1000 vsx=1000 ... | Shell |
#! /bin/sh
# building a model with "unif2"
hsfile=hsseis.pml.out
pml=1
pml_thick=20
n1=500
n2=2000
d2=25
d1=25
# build the file of velocities
unif2 < model.unif2 ninf=2 nx=$n2 nz=$n1 dz=$d1 dx=$d2 \
v00=5000,4700,5000 > velocity.1
# build the file of densities
unif2 < model.unif2 ninf=6 nx=100 nz=500 dx=25 \
v0... | Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2
# finite-difference modeling: Test of the PML transparent boundary conditions
# Author: John Stockwell
WIDTH=450
HEIGHT=450
WIDTHOFF1=50
WIDTHOFF2=530
HEIGHTOFF1=50
HEIGHTOFF2=530
n1=100 d1=5 f1=0.0 label1="Depth (km)"
n2=100 d2=5 f2=0.0 label2="Distance (km)"
xs=... | Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2
# finite-difference modeling: part 1, the movie
# Author: John Stockwell
WIDTH=450
HEIGHT=450
WIDTHOFF1=50
WIDTHOFF2=530
HEIGHTOFF1=50
HEIGHTOFF2=530
n1=500 d1=5 f1=0.0 label1="Depth (km)"
n2=500 d2=5 f2=0.0 label2="Distance (km)"
xs=1250 zs=125 hsz=300 vsx=1000 ve... | Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2_pml
# finite-difference modeling: part 1, the movie
# Author: John Stockwell
WIDTH=450
HEIGHT=450
WIDTHOFF1=10
WIDTHOFF2=500
HEIGHTOFF1=50
HEIGHTOFF2=530
n1=100 d1=5 f1=0.0 label1="Depth (km)"
n2=100 d2=5 f2=0.0 label2="Distance (km)"
xs=250 zs=50 hsz=50 vsx=250 ve... | Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2
# finite-difference modeling, part 2 the output files
# Author: John Stockwell
WIDTH=450
HEIGHT=450
WIDTHOFF1=20
WIDTHOFF2=510
WIDTHOFF3=930
HEIGHTOFF1=50
HEIGHTOFF2=530
clip=.5
suwind <vseis.pml.out j=3 | suxwigb clip=$clip \
title="Vertical line of seismograms... | Shell |
#! /bin/sh
# Sufdmod2 --- example script for sufdmod2
# finite-difference modeling, part 2 the output files
# Author: John Stockwell
WIDTH=450
HEIGHT=450
WIDTHOFF1=50
WIDTHOFF2=530
HEIGHTOFF1=50
HEIGHTOFF2=530
suximage <vseis.pml.out clip=1.0 \
title="Vertical line of seismograms" \
windowtitle="Vertical" \
label1=... | Shell |
#! /bin/sh
# building a model with "unif2"
hsfile=hsseis.out
# Use the Marmousi model
zcat $CWPROOT/src/demos/Velocity_Profiles/Marmousi/marmhard.dat.gz |
a2b n1=1 | smooth2 n1=122 n2=384 r1=5 r2=5 > velocity.1
# build the file of densities
unif2 < model.unif2 ninf=6 nx=384 nz=122 dx=10 \
v00=1.0,2.25,2.25,2.25,2.... | Shell |
#! /bin/sh
# building a model with "unif2"
hsfile=hsseis.out
# build the file of velocities
unif2 < model.unif2 nx=100 nz=500 dx=25 \
v00=5000,5500,6000,6500,7000,7500,8000 dz=10 > velocity.1
# build the file of densities
unif2 < model.unif2 nx=100 nz=500 dx=25 \
v00=1.0,2.25,2.25,2.25,2.35,2.35,2.35 dz=10 > densi... | Shell |
#! /bin/sh
# Xdemo1 - simple example script for sufdmod1, X window graphics
# N. Maercklin, Oct. 2006
# Output file names (velocity,density and seismogram):
vfile=velocity.bin
dfile=density.bin
sufile=seismogram.su
# Velocity and density model:
depth=0,600,601,1200,1201,1500,1501,2000
velo=2000,2000,3000,3000,2600,26... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.