Skip to content

vs30_query

Philip Maechling edited this page Sep 1, 2022 · 1 revision

vs30_query

This program will query the top 30 meters of a velocity model and return a vs30 value calculated from slowness.

Usage: vs30_query [-h] [-m models] [-f config] [-i inter]
where: -h This help message -f Configuration file. Default is ./ucvm.conf. -i Interval between query points along z-axis (m, default is 1) -m Comma delimited list of crustal/GTL models to query in order

Example of query uses this input file:

-bash-4.2$ more test_latlonsonly.txt
-118.0 34.0
-118.5 34.5
-119.0 33.0
-120.0 33.0

The follow calls show return values from different CVMs.

Model CVM-H with no gtl

-bash-4.2$ ./bin/vs30_query -f ./conf/ucvm.conf -m cvmh < test_latlonsonly.txt
-118.0000 34.0000 969.300
-118.5000 34.5000 2381.450
-119.0000 33.0000 3087.574
-120.0000 33.0000 3035.540

Model CVM-S4 with gtl

-bash-4.2$ ./bin/vs30_query -f ./conf/ucvm.conf -m cvms < test_latlonsonly.txt
-118.0000 34.0000 350.963
-118.5000 34.5000 446.394
-119.0000 33.0000 2886.751
-120.0000 33.0000 2886.751

Model CVM-S4.26 with no gtl

-bash-4.2$ ./bin/vs30_query -f ./conf/ucvm.conf -m cvms5 < test_latlonsonly.txt
-118.0000 34.0000 925.255
-118.5000 34.5000 1131.339
-119.0000 33.0000 2860.827
-120.0000 33.0000 0.000

Model CVM-S4.26 with 1D background model

-bash-4.2$ ./bin/vs30_query -f ./conf/ucvm.conf -m cvms5,1d < test_latlonsonly.txt
-118.0000 34.0000 925.255
-118.5000 34.5000 1131.339
-119.0000 33.0000 2860.827
-120.0000 33.0000 2886.751

Model CVM-S4.26.M01 with gtl

-bash-4.2$ ./bin/vs30_query -f ./conf/ucvm.conf -m cvmsi < test_latlonsonly.txt
-118.0000 34.0000 350.963
-118.5000 34.5000 490.469
-119.0000 33.0000 2809.372
-120.0000 33.0000 2886.751

Clone this wiki locally