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

From SCECpedia
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Examples ==
 
== Examples ==
 
 
Using UCVMC version 18.5,
 
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 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
 
 
./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
Line 20: Line 18:
  
  
 +
  ./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.9 -o depth1.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.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
 
  
 +
  ./plot_depth_profile.py -d vs,vp -e 4000 -v 10 -c cvmsi -s 34.04,-117.6 -o depth4.png
  
 
*-d data type
 
*-d data type
Line 39: Line 34:
  
 
== Result ==
 
== Result ==
 +
{|
 +
| [[File:cross1.png|300px|vs]]
 +
| [[File:cross2.png|300px|vp]]
 +
|}
  
 +
{|
 +
| [[File:depth1.png|300px|34.04,-117.9]]
 +
| [[File:depth2.png|300px|34.04,-117.8]]
 +
| [[File:depth3.png|300px|34.04,-117.7]]
 +
| [[File:depth4.png|300px|34.04,-117.6]]
 +
|}
  
 +
[http://hypocenter.usc.edu/research/ucvmc_result/pomona.tar.gz raw data]
  
 
== Related Entries ==
 
== Related Entries ==
 
*[[UCVM]]
 
*[[UCVM]]

Latest revision as of 06:30, 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

vs vp
34.04,-117.9 34.04,-117.8 34.04,-117.7 34.04,-117.6

raw data

Related Entries