From modeling to full waveform inversion: A hands-on tour using Madagascar
Next:
Some of the most
Up:
Preliminary
Previous:
Preliminary
Reproduce numerical examples and papers using SConstruct
Processing workflow:
Fetch
(data_file,dir,ftp_server_info): download data_file from a specific directory dir of an FTP server
Flow
(targets,sources,commands): generate target[s] from source[s] using command[s]
Plot
(intermediate_plot[,source],plot_command): generate intermediate_plot in the working directory
Result
(plot,intermediate_plots,combination) generate a final plot in Fig folder of the working directory
End
(): collect default targets
Run scons for your computation
scons
run an SConstruct to generate data
scons view
view the results from an SConstruct
scons -c
clean the local directory, delete all target files
pscons
parallel execution of an SConstruct
Paper Sconstruct imports Python packages for processing TeX files:
name - name of the root tex file to build, paper.tex.
lclass - name of the LaTeX class file to use.
options - document options for LaTeX class file.
use - names of LaTeX packages to import during compilation.
To generate your paper including numerical examples:
sftour scons lock
: lock the results from an SConstruct
scons read/paper.read
: look at the generated paper in pdf
scons -c
remove all intermediate files
From modeling to full waveform inversion: A hands-on tour using Madagascar
Next:
Some of the most
Up:
Preliminary
Previous:
Preliminary
2021-08-31