Difference between revisions of "UCVMC how to plot cross section and depth profile"

From SCECpedia
Jump to navigationJump to search
Line 8: Line 8:
 
./plot_cross_section.py -b 34.04,-117.97 -u 34.04,-117.5 -h 100 -v 20 -d vp -c cvmsi -a s -s 0 -e 4000 -o cross2.png
 
./plot_cross_section.py -b 34.04,-117.97 -u 34.04,-117.5 -h 100 -v 20 -d vp -c cvmsi -a s -s 0 -e 4000 -o cross2.png
  
#-b bottom-left lonlat
+
*-b bottom-left lonlat
#-u upper-right lonlat
+
*-u upper-right lonlat
#-h horizontal step : in meters
+
*-h horizontal step : in meters
#-v vertical step : in meters
+
*-v vertical step : in meters
#-d data type: vs, vp, or rho
+
*-d data type: vs, vp, or rho
#-c CVM model
+
*-c CVM model
#-a color scale: s (smooth), d (discrete), b (bicolor)
+
*-a color scale: s (smooth), d (discrete), b (bicolor)
#-s starting depth: in meters
+
*-s starting depth: in meters
#-e ending depth : in meters
+
*-e ending depth : in meters
#-o output filename
+
*-o output filename
  
  
Line 31: Line 31:
  
  
-d data type
+
*-d data type
-e ending depth: in meters
+
*-e ending depth: in meters
-v vertical step : in meters
+
*-v vertical step : in meters
-c CVM model
+
*-c CVM model
-s target lonlat
+
*-s target lonlat
-o output filename
+
*-o output filename
  
 
== Result ==
 
== Result ==

Revision as of 05:58, 15 November 2018

Examples

Using UCVMC version 18.5,


./plot_cross_section.py -b 34.04,-117.97 -u 34.04,-117.5 -h 100 -v 20 -d vs -c cvmsi -a s -s 0 -e 4000 -o cross1.png

./plot_cross_section.py -b 34.04,-117.97 -u 34.04,-117.5 -h 100 -v 20 -d vp -c cvmsi -a s -s 0 -e 4000 -o cross2.png

  • -b bottom-left lonlat
  • -u upper-right lonlat
  • -h horizontal step : in meters
  • -v vertical step : in meters
  • -d data type: vs, vp, or rho
  • -c CVM model
  • -a color scale: s (smooth), d (discrete), b (bicolor)
  • -s starting depth: in meters
  • -e ending depth : in meters
  • -o output filename



./plot_depth_profile.py -d vs,vp -e 4000 -v 10 -c cvmsi -s 34.04,-117.9 -o depth1.png

./plot_depth_profile.py -d vs,vp -e 4000 -v 10 -c cvmsi -s 34.04,-117.8 -o depth2.png

./plot_depth_profile.py -d vs,vp -e 4000 -v 10 -c cvmsi -s 34.04,-117.7 -o depth3.png

./plot_depth_profile.py -d vs,vp -e 4000 -v 10 -c cvmsi -s 34.04,-117.6 -o depth4.png


  • -d data type
  • -e ending depth: in meters
  • -v vertical step : in meters
  • -c CVM model
  • -s target lonlat
  • -o output filename

Result

Related Entries