seisflows.examples.ex2_hh_w_pyatoa

SEISFLOWS SPECFEM2D WORKSTATION EXAMPLE 2

This example will run N iterations of an inversion to assess misfit between a homogeneous halfspace model and a checkerboard model using X events and Y receivers. N, X and Y are all user-selectable.

Note

See Example 1 docstring for more information

$ seisflows examples run 2

Module Contents

Classes

SFPyatoaEx2D

A class for running SeisFlows examples. Overloads Example 1 to take

class seisflows.examples.ex2_hh_w_pyatoa.SFPyatoaEx2D(ntask=None, niter=None, nsta=None, nproc=None, event_id=None, method='run', specfem2d_repo=None, with_mpi=False, mpiexec='mpirun', **kwargs)

Bases: seisflows.examples.sfexample2d.SFExample2D

A class for running SeisFlows examples. Overloads Example 1 to take advantage of the default SPECFEM2D stuff, onyl changes the generation of MODEL TRUE, the number of stations, and the setup of the parameter file.

print_dialogue()

Print help/system dialogue message that explains the setup of th this workflow

setup_specfem2d_for_model_true()

Overwrites MODEL TRUE creation from EX1

Make some adjustments to the parameter file to create the final velocity model. This function assumes it is running from inside the SPECFEM2D/DATA directory