Difference between revisions of "UCVM sfcvm geomodelgrid"

From SCECpedia
Jump to navigationJump to search
Line 89: Line 89:
  
 
{|
 
{|
| [[FILE:cencal_h0_2.png|thumb|300px|sfcvm depth 0m]]  
+
| [[FILE:cencal_h0_2.png|thumb|300px|cencal depth 0m]]  
| [[FILE:cencal_h100_2.png|thumb|300px|sfcvm depth 100m]]  
+
| [[FILE:cencal_h100_2.png|thumb|300px|cencal depth 100m]]  
| [[FILE:cencal_h1000_2.png|thumb|300px|sfcvm depth 1000m]]  
+
| [[FILE:cencal_h1000_2.png|thumb|300px|cencal depth 1000m]]  
 
|}
 
|}
  
 
{|
 
{|
| [[FILE:cencal_h5000_2.png|thumb|300px|sfcvm depth 5000m]]  
+
| [[FILE:cencal_h5000_2.png|thumb|300px|cencal depth 5000m]]  
| [[FILE:cencal_h6000_2.png|thumb|300px|sfcvm depth 6000m]]  
+
| [[FILE:cencal_h6000_2.png|thumb|300px|cencal depth 6000m]]
 +
|}
 +
 
 +
{|
 +
| [[FILE:cencal_c1.png|thumb|300px|cencal cross section]]  
 
|}
 
|}

Revision as of 22:11, 17 January 2024

UCVM with SFCVM

Software stack for supporting geomodelgrid based format:

  1. curl (curl-7.87.0)
  2. hdf5 (hdf5-1.10.9)
  3. openssl (openssl-3.0.8)
  4. proj (proj-8.1.1)
  5. sqlite (sqlite-autoconf-3400100)
  6. tiff (tiff-4.5.0)

SFCVM in UCVM

geomodelgrid based SFCVM is set with

   
    geomodelgrids_squery_setSquashing(sfcvm_geo_query_object, GEOMODELGRIDS_SQUASH_TOPOGRAPHY_BATHYMETRY);
    geomodelgrids_squery_setSquashMinElev(sfcvm_geo_query_object, SFCVM_SquashMinElev);

where SFCVM_SquashMinElev is default to -5000m (sfcvm is elevation based, depth is negative value)

NOTE: For locations that are below water, their geomodelgrids_squery_queryTopoBathyElevation() could return a NA value and so a grid height is added across the board to always have an usable value.

Plots from web viewer

sfcvm regions
sfcvm cross section
sfcvm depth 0m
sfcvm depth 100m
sfcvm depth 1000m
sfcvm depth 5000m
sfcvm depth 6000m

New command line option for model specific configuration

UCVM option:

-P Optional model configuration(model_param:key,value)


Example:

ucvm_query -l 37.455000,-121.941,3000 -m sfcvm -f ../../conf/ucvm.conf -P sfcvm_param:SquashMinElev,-5000.0


Allows multiple -P options,

ucvm_query ... -P cvmh_param:USE_1D_BKG,False -P cvmh_param:USE_GTL,False


More detailed plots from SFCVM

Internal calls from web viewer, (set e to 0,100,1000,5000,6000)

PROJ_LIB=/usr/local/share/anaconda2/share/proj PATH=/usr/local/share/anaconda2/bin:/usr/local/share/anaconda2/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin PYTHONPATH=../model/UCVM_TARGET/ucvm_plotting plot_horizontal_slice.py  -d vs -c sfcvm -s 0.010 -a sd -o ../result/UCVM_15167424_h.png -n ../model/UCVM_TARGET/conf/ucvm.conf -i ../model/UCVM_TARGET  -b 36.5416,-123.8269 -u 38.8108,-120.6299 -e 0

sfcvm depth 0m
sfcvm depth 100m
sfcvm depth 1000m
sfcvm depth 5000m
sfcvm depth 6000m


Detail plots from Cencal

cencal depth 0m
cencal depth 100m
cencal depth 1000m
cencal depth 5000m
cencal depth 6000m
cencal cross section