Git Product home page Git Product logo

specfem_fwi_workflow's Introduction

SHORT INSTRUCTIONS (assumes you're running on 4 processors)

1. Link all SPECFEM3D binaries from your local installation into folder ./binary_files/, e.g.:

$ ln -s ~/SPECFEM3D/bin/* binary_files/

The workflow is compiled to work on the most recent svn version of the code without any modifications.  The programs that are needed are: 
xspecfem3D 
xdecompose_mesh_SCOTCH 
xgenerate_databases 
xcombine_vol_data

2. Change the values of the following variables (default values shown), defined in ./inversion/input_parameters.py:

data_path = '/export/data/schiemenz/workflow_examples/toy_cube/generate_data/true_model_seismograms/'
CMTSOLUTION_path = '/export/data/schiemenz/workflow_examples/toy_cube/input_files/CMTSOLUTION_files/'
event_scratch_directory='/export/data/schiemenz/workflow_examples/toy_cube/inversion/event_scratch_directory/'

... in general, you need only replace the part
/export/data/schiemenz/workflow_examples/toy_cube/

to wherever the workflow has been locally installed

3. run the script 
$ ./do_everything.sh


VISUALIZATION ROUTINES
./inversion/visualization/plot_well_log.py    -- plots a depth profile at (x,y) = (500,500)
./inversion/visualization/create_vtks.py      -- creates *.vtk files for the models for paraview visualization
./libraries/xyztovtk.py                       -- converts a tomographic model (.xyz file) into a .vtk file for paraview 


specfem_fwi_workflow's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.