test_zmodel

Doublecheck codes read correctly the 3D velocity model of Zhu et al., 2015). + IASP91

Issue reported from DK and GH.

Potential issues: - Are the Vp and Vs values in the model changed during the scan?

We can check this by plotting the vp and vs values along the same line and then we can see how it goes.

  • Some depth value might be missing in the model and this “squeezes” the migration, because we almost see that the depth scale is compressed.

  • The shape of the ray tracing itself is wrong for something that is probably related to velocity. This can result in the discontinuity red spots not being connected, the discontinuity being thick.

Attributes

font

fig_size

min_lon

max_lon

min_lat

max_lat

work_dir

path_

path

path_zmodel_m60

parameters

longitudes

latitudes

depths

p_velocities

s_velocities

points_list

vp_values

vs_values

point

points

values_p

values_s

liner_interpolation_of_velocities_p

liner_interpolation_of_velocities_s

longitudes

latitudes

topos

thick_sediments

thick_upper

thick_lower

vp_sediments

vp_upper

vp_lower

vs_sediments

vs_upper

vs_lower

work_dir

path_epcrust

ln

lon

lat

ele

vp_sediments

vp_upper

vp_lower

vs_sediments

vs_upper

vs_lower

thick_sediments

thick_upper

thick_lower

points

p_velocities

s_velocities

z_0_

points

values_p

values_s

liner_interpolation_of_velocities_p_ep

liner_interpolation_of_velocities_s_ep

zmoho

minx

maxx

pasx

miny

maxy

pasy

x

y

z_

P_vel_3D_grid

S_vel_3D_grid

depths

pts

ax1

Functions

get_iasp91(x_, y, z, zmoho)

Retrieves P-wave, S-wave velocities and depths

Module Contents

test_zmodel.font[source]
test_zmodel.fig_size[source]
test_zmodel.min_lon = 0[source]
test_zmodel.max_lon = 32[source]
test_zmodel.min_lat = 40[source]
test_zmodel.max_lat = 55[source]
test_zmodel.work_dir[source]
test_zmodel.path_[source]
test_zmodel.path = ''[source]
test_zmodel.path_zmodel_m60 = '/data/ZMODEL_M60/'[source]
test_zmodel.parameters[source]
test_zmodel.longitudes[source]
test_zmodel.latitudes[source]
test_zmodel.depths[source]
test_zmodel.p_velocities[source]
test_zmodel.s_velocities[source]
test_zmodel.points_list = [][source]
test_zmodel.vp_values = [][source]
test_zmodel.vs_values = [][source]
test_zmodel.point[source]
test_zmodel.points[source]
test_zmodel.values_p[source]
test_zmodel.values_s[source]
test_zmodel.liner_interpolation_of_velocities_p[source]
test_zmodel.liner_interpolation_of_velocities_s[source]
test_zmodel.longitudes = [][source]
test_zmodel.latitudes = [][source]
test_zmodel.topos = [][source]
test_zmodel.thick_sediments = [][source]
test_zmodel.thick_upper = [][source]
test_zmodel.thick_lower = [][source]
test_zmodel.vp_sediments = [][source]
test_zmodel.vp_upper = [][source]
test_zmodel.vp_lower = [][source]
test_zmodel.vs_sediments = [][source]
test_zmodel.vs_upper = [][source]
test_zmodel.vs_lower = [][source]
test_zmodel.work_dir[source]
test_zmodel.path_epcrust[source]
test_zmodel.ln[source]
test_zmodel.lon[source]
test_zmodel.lat[source]
test_zmodel.ele[source]
test_zmodel.vp_sediments[source]
test_zmodel.vp_upper[source]
test_zmodel.vp_lower[source]
test_zmodel.vs_sediments[source]
test_zmodel.vs_upper[source]
test_zmodel.vs_lower[source]
test_zmodel.thick_sediments[source]
test_zmodel.thick_upper[source]
test_zmodel.thick_lower[source]
test_zmodel.points = [][source]
test_zmodel.p_velocities = [][source]
test_zmodel.s_velocities = [][source]
test_zmodel.z_0_ = -5.0[source]
test_zmodel.points[source]
test_zmodel.values_p[source]
test_zmodel.values_s[source]
test_zmodel.liner_interpolation_of_velocities_p_ep[source]
test_zmodel.liner_interpolation_of_velocities_s_ep[source]
test_zmodel.get_iasp91(x_, y, z, zmoho)[source]

Retrieves P-wave, S-wave velocities and depths from IASPEI91 global velocity model.

Parameters:
  • x (numpy.array) – Numpy array of x values of the grid points.

  • y (numpy.array) – Numpy array of y values of the grid points.

  • z (numpy.array) – Numpy array of z values of the grid points.

  • zmoho (int) – Moho depth in km.

Return type:

numpy.ndarrays

Returns:

Array of P-wave, S-wave velocities and their depths.

test_zmodel.zmoho = 35[source]
test_zmodel.minx = -7.0[source]
test_zmodel.maxx = 40.0[source]
test_zmodel.pasx = 0.38[source]
test_zmodel.miny = 38.0[source]
test_zmodel.maxy = 60.0[source]
test_zmodel.pasy = 0.27[source]
test_zmodel.x[source]
test_zmodel.y[source]
test_zmodel.z_[source]
test_zmodel.P_vel_3D_grid[source]
test_zmodel.S_vel_3D_grid[source]
test_zmodel.depths[source]
test_zmodel.pts[source]
test_zmodel.ax1[source]