|
|
Comments |
| #!/bin/csh -f
# kintcalc2 # Create a directory name for the Green's functions
# C.A. Langston 9/28/00
if ($#argv != 11) then
# Environment for directory structure setenv CHUCKBIN '/space/langston/ts3/bin'
# Create a directory for the Green's functions if (-d $MODDIR) then
cd $MODDIR
# Build file for linmod program echo $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 > linmod.in
# Run linmod program to produce kmodel.in file for
kint program
$CHUCKBIN/linmod < linmod.in # build the kint.input file echo "kmodel.in" > kint.input
# Run kint $CHUCKBIN/kint < kint.input > kint.output # Demultiplex the spectra echo "kint.pun"$1 > deplex.in
$CHUCKBIN/deplex < deplex.in > deplex.prt # Run gint.sac to produce time series for each Green's function echo $MOD".spec" > gint.sac.in
$CHUCKBIN/gint.sac < gint.sac.in > gint.sac.prt # Green's functions have been computed, now run
grsynth for
$CSHELL/greenf.csh $MOD $CHUCKBIN/grsynth < $CSHELL/grnsynth.ruk.in > grnsynth.prt # Adjust origin times of synthetics $SACDIR/bin/sac2000 < $SACMAC/synth.macro # Adjust origin times for the Model200 phase time inversion $SACDIR/bin/sac2000 < $MODEL/mod200/synth200.macro # All done!
|
11 arguments!
Particular to my file system
Make a directory for the synthetic seismograms
"linmod" makes a linear gradient crustal model
setup the wavenumber integration
This takes hours.
gint.sac is a fortran77 program that reads SAC files
Produce synthetic seismograms for a particular source
model
Run SAC, the file "synth.macro" has already been made.
|