UCVM sfcvm geomodelgrid
From SCECpedia
Contents
UCVM with SFCVM
Software stack for supporting geomodelgrid based format:
- curl (curl-7.87.0)
- hdf5 (hdf5-1.10.9)
- openssl (openssl-3.0.8)
- proj (proj-8.1.1)
- sqlite (sqlite-autoconf-3400100)
- 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
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
Internal calls from web viewer,
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 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_15471182_h.png -n ../model/UCVM_TARGET/conf/ucvm.conf -i ../model/UCVM_TARGET -b 36.5416,-123.8269 -u 38.8108,-120.6299 -e 100 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_15798738_h.png -n ../model/UCVM_TARGET/conf/ucvm.conf -i ../model/UCVM_TARGET -b 36.5416,-123.8269 -u 38.8108,-120.6299 -e 1000 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_16119272_h.png -n ../model/UCVM_TARGET/conf/ucvm.conf -i ../model/UCVM_TARGET -b 36.5416,-123.8269 -u 38.8108,-120.6299 -e 5000 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_16252806_h.png -n ../model/UCVM_TARGET/conf/ucvm.conf -i ../model/UCVM_TARGET -b 36.5416,-123.8269 -u 38.8108,-120.6299 -e 6000