Difference between revisions of "UCVM z1,z2.5 for CCA06 with GTL, CVM-S4.26.M01"

From SCECpedia
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 78: Line 78:
 
| [[FILE:cca_gtl_depth_120_34.6.png|thumb|300px|cca gtl]]
 
| [[FILE:cca_gtl_depth_120_34.6.png|thumb|300px|cca gtl]]
 
|}
 
|}
 
== 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
 
 
 
<pre>
 
#!/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
 
 
</pre>
 
 
 
== Test your UCVM installation ==
 
 
setup your UCVM enabled environment,
 
<pre>
 
source <<YOUR_BUILD_LOCATION>>/scratch1/TARGET_UCVM/ucvm_install/conf/ucvm_env.sh
 
</pre>
 
 
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,
 
 
<pre>
 
which ucvm_query
 
</pre>
 
 
Following command will show what is available in this UCVM installation,
 
 
<pre>
 
ucvm_query -H
 
</pre>
 
 
Using a test file from UCVM regression suite,
 
 
<pre>
 
-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
 
</pre>
 
 
Calling ucvm_query to query cvmsi model and interpolate it with the taper algorithm,
 
 
<pre>
 
ucvm_query -m cvmsi,elygtl:taper -f $UCVM_INSTALL_PATH/conf/ucvm.conf < $UCVM_INSTALL_PATH/tests/inputs/test_latlons.txt
 
</pre>
 
 
should return,
 
 
<pre>
 
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
 
</pre>
 
 
  
 
== Related Links ==
 
== Related Links ==
 
*[[UCVM]]
 
*[[UCVM]]

Latest revision as of 18:11, 28 March 2023

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

cvms Z1.0
cvms Z2.5

cvms5 plots

cvms5 gtl Z1.0
cvms5 gtl Z2.5

cvmsi plots

cvmsi tj Z1.0
cvmsi tj Z2.5

cca plots

cca gtl Z1.0
cca gtl Z2.5

raw data


side note

  • -120, 34.6, depth profile from 0 to 1000 with step of 10m
cvmh
cvmh gtl
cvms
cvmsi
cvms5
cvms5 gtl
cca
cca gtl

Related Links