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

Test Cases CVMH Flags

meihuisu edited this page May 24, 2019 · 20 revisions

CVM-H GTL and 1D flags in ucvm.conf

The user can specify whether a geotechnical layer, based on Ely Vs30 technique is added to the top 300M of the cvm-h model, by editing a flag in the ucvm.conf file. The user can also include a 1D background model to extend CVM-H beyond its model boundary by editing a flag in the ucvm.conf file.

# The entries below are manually updated by the user, as needed.
#
# CVM-H model flags. The model defaults are:
# No 1D background model
# No GTL added
#
cvmh_param=USE_1D_BKG,False
cvmh_param=USE_GTL,False
#

USE_GTL flag

We expect that Vs values in the top 300m will be lower for sites when the USE_GTL flag is set to true.

cvmh_param=USE_1D_BKG,False
cvmh_param=USE_GTL,True

Plot the Vs depth profiles of 5 locations with the last one being outside of the CVM-H boundary,

./plot_depth_profile.py -s 34,-118 -b 0  -e 10000 -d vs -v 10 -c cvmh -o cvmh_gtl_depth_pt1.png
./plot_depth_profile.py -s 33.2589,-115.4502 -b 0  -e 10000 -d vs -v 10 -c cvmh -o cvmh_gtl_dep
th_pt2.png
./plot_depth_profile.py -s 36.3121,-119.7785 -b 0  -e 10000 -d vs -v 10 -c cvmh -o cvmh_gtl_dep
th_pt3.png
./plot_depth_profile.py -s 33.8115,-116.6794 -b 0  -e 10000 -d vs -v 10 -c cvmh -o cvmh_gtl_dep
th_pt4.png
./plot_depth_profile.py -s 33.4494,-112.0749 -b 0  -e 10000 -d vs -v 10 -c cvmh -o cvmh_gtl_dep
th_pt5.png

Without GTL,

With GTL,

A cross plot through Southern part of CVM-H,

./plot_cross_section.py -b 33.25,-119 -u 36,-112 -h 1000 -v 10 -d vs -c cvmh -a d -s 0.0 -e 100
00 -o cvmh_gtl.png

Without GTL,

With GTL,

./bin/ucvm_query -f ./conf/ucvm.conf -m cvmh -c gd < ./tests/inputs/test_latlons_socal_pts.txt > ucvm_cvmh_depth_usegtl_false_results.txt

Result:

This shows the the USE_GTL flag return different material properties in the top 500m. However, the columns showing combined results (from model and GTL) are identical. This suggests that the combined properties columns change only when an external GTL is returned from the UCVM. CVM-H internal GTL does not appear as a "combined" material properties, but rather as native model properties.

USE_1D_BKG flag

The user can specify a CVM-H configuration flag that enables or disables use of a 1D background model. The default CVM-H flag is not to use a 1D background model. We expect ucvm to return material properties for regions outside of the CVM-H region when the 1D background model is true.

Rerunning the earlier cross plot with 1D enabled,

#
cvmh_param=USE_1D_BKG,True
cvmh_param=USE_GTL,False
#

With 1D but without GTL,

With 1D but also with GTL,

We called ucvm_query this way:

./bin/ucvm_query -f ./conf/ucvm.conf -m cvmh -c gd < ./tests/inputs/test_latlons_socal_pts.txt > ucvm_cvmh_depth_1dtrue_results.txt

Following are the result of toggling the USE_1D_BKG flag (without GTL),

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.

TODO

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

Show that the ucvm_query add GTL flag with CVM-H produces results equivalent to CVM-H USE_GTL flag

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.
Clone this wiki locally