-
Notifications
You must be signed in to change notification settings - Fork 8
Test Cases GTL
Standard use of CVM-S4.26 is accessing the tomography model without modification. Query the CVM-S2.26 model and confirm that no Vs values below about 800m/s.
First, set the model/cvms5/data/config file GTL flag to off:
# UTM Zone utm_zone = 11 # Model directory model_dir = s5 # GTL on or off? gtl = off # Number of cells in x, y, and z. nx = 1536 ny = 992 nz = 100
We use plot_cross_section, and slice through the LA Basin CVM-S4.26 coverage area, and confirm that the returned Vs values have no values within the GTL region in the top 350m
-bash-4.2$ ./plot_cross_section.py -b 34.0,-118.0 -u 34.5,-117.5 -h 100 -v 10 -d vs -c cvms5 -a s -s 0 -e 500 Using parameters: lat1 = 34.0 data_type = vs lat2 = 34.5 cvm_selected = cvms5 ending_depth = 500 horizontal_spacing = 100 color = s lon1 = -118.0 vertical_spacing = 10 lon2 = -117.5 starting_depth = 0 Retrieving data. Please wait...
We also check the return values in the ucvm combined data column to determine whether the gtl values are shown as native model values, or as combined gtl values.
- [CVM-S4.26 Input File] (http://hypocenter.usc.edu/research/ucvmc/cvm_4_26/ucvm_socal_test_pts.txt)
- [CVM-S4.26 with gtl=off] (http://hypocenter.usc.edu/research/ucvmc/cvm_4_26/cvms5_gtl_off_res.txt)
We use plot_cross_section.py to show GTL values from CVM-S4.26
-bash-4.2$ ./plot_cross_section.py -b 34.0,-118.0 -u 34.5,-117.5 -h 100 -v 10 -d vs -c cvms5 -a s -s 0 -e 500 Using parameters: lat1 = 34.0 data_type = vs lat2 = 34.5 cvm_selected = cvms5 ending_depth = 500 horizontal_spacing = 100 color = s lon1 = -118.0 vertical_spacing = 10 lon2 = -117.5 starting_depth = 0 Retrieving data. Please wait...
Verify that the gtl=on flag returns the GTL as native model, and does not appear in the combined column.
- [CVM-S4.26 with gtl=on] (http://hypocenter.usc.edu/research/ucvmc/cvm_4_26/cvms5_gtl_on_res.txt)
The CVM-S4.26 model can add the Ely-Jordan GTL as an external modification.
-bash-4.2$ ./bin/ucvm_query -f ./conf/ucvm.conf -m cvms5,elygtl:ely -z 0,350 < ucvm_socal_test_pts.txt > cvms5_elygtl_res.txt
Show that the CVM-H model with added GTL (not the ucvm.conf USE_GTL flag) impacts the combined data column.
When UCVM adds an external GTL to the CVM-H model, the combined_data columns return the results.
-bash-4.2$ ./bin/ucvm_query -f ./conf/ucvm.conf -m cvms5,elygtl:ely -z 0,350 < ucvm_socal_test_pts.txt > cvms5_elygtl_res.txt
Query CVM-H with USE_GTL flag. Query it again adding external GTL. Show final results are identical.
-bash-4.2$ ./bin/ucvm_query -f ./conf/ucvm.conf -m cvmh,elygtl:ely -z 0,350 < ucvm_socal_test_pts.txt > cvmh_elygtl_res.txt Using Geo Depth coordinates as default mode.
-bash-4.2$ ./bin/ucvm_query -f ./conf/ucvm.conf -m cvmh < ucvm_socal_test_pts.txt > cvmh_gtl_true_res.txt Using Geo Depth coordinates as default mode.
This wiki is licensed by University of Southern California (USC) to the public under a Creative Commons Attribution 4.0 license.