Skip to content

Commit

Permalink
plotting: draw_velocity_models: fix function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
hvasbath committed Jan 24, 2024
1 parent a22b2dd commit 2309248
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beat/plotting/seismic.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,10 @@ def draw_earthmodels(problem, plot_options):
sample_rate=gc.gf_config.sample_rate,
)

store_ids = [t.store_id for t in targets]
models = load_earthmodels(
store_superdir=composite.engine.store_superdirs[0],
targets=targets,
store_ids=store_ids,
depth_max=gc.gf_config.source_depth_max * km,
)
models_dict[outpath] = models[0] # select only source site
Expand Down

0 comments on commit 2309248

Please sign in to comment.