UCVM z1,z2.5 for CCA06 with GTL, CVM-S4.26.M01
Contents
A little history (from Phil)
CVM-S4(cvms) -- velocity model with near surface gtl
CVM-S4.26(cvms5) -- improved cvms without the near surface gtl but with a new optional elygtl that can be enabled from a configuration option in the config file. Z range is from 0 to depth interval, which is 500m.
CVM-S4.26M01(cvmsi) -- improved cvms5 that when within the depth interval returns cvms values (ie, brought back the near surface gtl) and cvms5(the improved cvms) values otherwise.
CVM-S4.26.M01(cvmsi)
The GTL related flags and their default setting in cvmsi src code,
- ADD_ALT_GTL (set to 0)
- ADD_ROB_GTL (set to 0)
- ADD_TJ_GTL (set to 1)
- ADD_GTL (set to 0)
cvmsi has embedded vs30 gtl code but not turned on by default. Any change in the setting of the flag would require recompile and reinstall of libcvmsi.so.
But, it does not make sense to have both ADD_TJ_GTL and ADD_GTL enabled since the Zrange is overlapped and so ADD_TJ_GTL code always take precedence.
cvms plots
cvms5 plots
cvmsi plots
cca plots
side note
- -120, 34.6, depth profile from 0 to 1000 with step of 10m
Frontera environment
Do not need additional environment setup steps
Default Modules :
Currently Loaded Modules:
1) intel/19.1.1 3) git/2.24.1 5) python3/3.7.0 7) pmix/3.1.4 9) xalt/2.10.34 2) impi/19.0.9 4) autotools/1.2 6) cmake/3.24.2 8) hwloc/1.11.12 10) TACC
Script to build UCVM
Copy the script below to your home directory.
Replace <<YOUR_BUILD_LOCATION>> in the script and point to your big scratch location(either scratch1 or scratch2)
chmod +x script
and
source ./script
#!/bin/bash export MY_TOP=<<YOUR_BUILD_LOCATION>>/scratch1 export TOP_UCVM_TARGET=$MY_TOP/TARGET_UCVM export UCVM_SRC_PATH=$TOP_UCVM_TARGET/ucvm export UCVM_INSTALL_PATH=$TOP_UCVM_TARGET/ucvm_install rm -rf $TOP_UCVM_TARGET mkdir $TOP_UCVM_TARGET cd $TOP_UCVM_TARGET #git clone https://github.com/SCECcode/ucvm.git git clone https://github.com/SCECcode/ucvm.git -b withSCPBR # all available velocity models in this UCVM branch # #cvmh,cencal,cca,cs173,cs173h,albacore,cvlsu,ivlsu,wfcvm #cvms,cvms5,cvmsi #cvmhibbn,cvmhlabn,cvmhrbn,cvmhsbbn,cvmhsbcbn,cvmhsgbn,cvmhsmbn,cvmhstbn,cvmhvbn #sjcz # cd $UCVM_SRC_PATH/largefiles # select the models to build/install ./get_largefiles.py -m cvmsi,cvms5,cvmh,cvms,cencal cd $UCVM_SRC_PATH/largefiles; ./check_largefiles_md5.py cd $UCVM_SRC_PATH/largefiles; ./stage_largefiles.py cd $UCVM_SRC_PATH ./ucvm_setup.py -d -a -p $UCVM_INSTALL_PATH &> ucvm_setup_install.log cd $UCVM_SRC_PATH; make check echo "..EXITING.." exit
Test your UCVM installation
setup your UCVM enabled environment,
source <<YOUR_BUILD_LOCATION>>/scratch1/TARGET_UCVM/ucvm_install/conf/ucvm_env.sh
Your $UCVM_INSTAlL_PATH is now set to <<YOUR_BUILD_LOCATION>>/scratch1/TARGET_UCVM/ucvm_install and your $UCVM_SRC_PATH is set to <<YOUR_BUILD_LOCATION>>/scratch1/TARGET_UCVM/ucvm
To check if your ucvm environment is setup properly,
which ucvm_query
Following command will show what is available in this UCVM installation,
ucvm_query -H
Using a test file from UCVM regression suite,
-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
Calling ucvm_query to query cvmsi model and interpolate it with the taper algorithm,
ucvm_query -m cvmsi,elygtl:taper -f $UCVM_INSTALL_PATH/conf/ucvm.conf < $UCVM_INSTALL_PATH/tests/inputs/test_latlons.txt
should return,
Using Geo Depth coordinates as default mode. Using Geo Depth coordinates as default mode. -118.0000 34.0000 0.000 284.191 580.043 cvmsi 3035.433 1719.851 2402.684 elygtl 0.000 580.043 0.000 taper 1700.000 500.000 1974.976 -118.0000 34.0000 50.000 284.191 580.043 cvmsi 3035.433 1719.851 2402.684 elygtl 0.000 580.043 0.000 taper 1700.000 548.000 2128.620 -118.0000 34.0000 100.000 284.191 580.043 cvmsi 3035.433 1719.851 2402.684 elygtl 0.000 580.043 0.000 taper 1700.000 603.470 2130.773 -118.0000 34.0000 500.000 284.191 580.043 cvmsi 3035.433 1719.851 2402.684 elygtl 0.000 580.043 0.000 taper 2701.194 1475.595 2354.105 -118.0000 34.0000 1000.000 284.191 580.043 cvmsi 3330.891 1945.586 2443.042 none 0.000 0.000 0.000 crust 3330.891 1945.586 2443.042