Skip to content

Commit b821869

Browse files
Add files via upload
1 parent f1b0191 commit b821869

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

run_KEV_example.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
# Note that the KEV data collected have 40 Hz sampling
3+
# so 4 seconds is 160 samples.
4+
# This script should calculate the output for the files
5+
# generated in the directory KEV_NZ20101011
6+
#
7+
inputfile=KEV_m3csdirest.input
8+
cat << EOF > ${inputfile}
9+
KEV_NZ20101011/IU_KEV_BHZ_10.sac KEV
10+
KEV_NZ20101011/IU_KEV_BHE_10.sac 90.0
11+
KEV_NZ20101011/IU_KEV_BHN_10.sac 0.0
12+
EOF
13+
NSTAT=1
14+
NCCLEN=160
15+
NSKIP=40
16+
NAZIB2=36
17+
ICFLAG=1
18+
OUTFLAG=1111
19+
m3csdirest $NSTAT $NCCLEN $NSKIP $NAZIB2 $ICFLAG $OUTFLAG < $inputfile > KEV.out

0 commit comments

Comments
 (0)