Apply FWI for marmousi 2D model #2156
Unanswered
bening-gawitsa
asked this question in
Q&A
Replies: 1 comment
-
The error comes from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to apply FWI code example for marmousi 2D model using MPI with this configuration source and receiver
"nshots = 110 # Number of shots to create gradient from
nreceivers = 400 # Number of receiver locations per shot
fwi_iterations = 5
Define true and initial model
shape = (1601, 401) # Number of grid point (nx, nz)
spacing = (7.5, 7.5) # Grid spacing in m. The domain size is now 1km by 1km
origin = (0., 0.) # Need origin to define relative source and receiver locations
#Acquisition geometry
#Define acquisition geometry: source
from examples.seismic import AcquisitionGeometry
t0 = 0.
tn = 7000.
f0 = 0.015
First, position source centrally in all dimensions, then set depth
src_coordinates = np.empty((nshots, 2), dtype=np.float32)
src_coordinates[:, 0] = 1.
src_coordinates[:, 0] = np.linspace(0, model.domain_size[0], num=nshots)
Define acquisition geometry: receivers
Initialize receivers for synthetic and imaging data
rec_coordinates = np.empty((nreceivers, 2))
rec_coordinates[:,1] = 200.
rec_coordinates[:,0] = np.linspace(0, model.domain_size[0], num=nreceivers)
Geometry
geometry = AcquisitionGeometry(model, rec_coordinates, src_coordinates, t0, tn, f0=f0, src_type='Ricker')
geometry.src.show()"
then I got this error message: "ValueError: Cannot increase dimensionality of MPI-distributed Data"
could you help me how to solve it
Beta Was this translation helpful? Give feedback.
All reactions