Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Vs30_query Example

Philip Maechling edited this page Feb 4, 2017 · 4 revisions

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

and returns these results.

-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

Clone this wiki locally