This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Command Reference
Philip Maechling edited this page Mar 7, 2017
·
10 revisions
This is the basic UCVM interface that queries velocity model of interest.
- Review input file as:
-bash-4.2$ cat ./tests/test_latlons.txt -118.0 34.0 0.0 -118.0 34.0 50.0 -118.0 34.0 100.0 -118.0 34.0 500.0 -118.0 34.0 1000.0
- Invoke basic ucvm_query, specifying CVM-S4.26.M01 (as cvmsi):
-bash-4.2$ ./bin/ucvm_query -f ./conf/ucvm.conf -m cvmsi < ./tests/test_latlons.txt > ./ucvm_query_results.txt
cat ucvm_query_results.txt
-118.0000 34.0000 0.000 280.896 390.000 cvmsi 696.491 213.000 1974.976 none 0.000 0.000 0.000 crust 696.491 213.000 1974.976 -118.0000 34.0000 50.000 280.896 390.000 cvmsi 1669.540 548.000 2128.620 none 0.000 0.000 0.000 crust 1669.540 548.000 2128.620 -118.0000 34.0000 100.000 280.896 390.000 cvmsi 1683.174 603.470 2130.773 none 0.000 0.000 0.000 crust 1683.174 603.470 2130.773 -118.0000 34.0000 500.000 280.896 390.000 cvmsi 2701.217 1475.609 2354.105 none 0.000 0.000 0.000 crust 2701.217 1475.609 2354.105 -118.0000 34.0000 1000.000 280.896 390.000 cvmsi 3330.909 1945.594 2443.042 none 0.000 0.000 0.000 crust 3330.909 1945.594 2443.042
This is the basic UCVM plotting script, based on matplotlib.
-bash-4.2$ ./plot_cross_section.py -b 34.0,-118.75 -u 34.0,-117.75 -h 100 -v 10 -d vs -c cvms -a s -s 0 -e 4000 Using parameters: lat1 = 34.0 data_type = vs lat2 = 34.0 cvm_selected = cvms ending_depth = 4000 horizontal_spacing = 100 color = s lon1 = -118.75 vertical_spacing = 10 lon2 = -117.75 starting_depth = 0 Retrieving data. Please wait..
This wiki is licensed by University of Southern California (USC) to the public under a Creative Commons Attribution 4.0 license.