adjtomo/pyatoa

Command line window and adjoint source maker

Opened this issue · 0 comments

Motivation

It would be nice to have a command line tool for Pyatoa that wraps a processing script to generate misfit windows and adjoint sources.

A User could play around with windowing quickly without needing to mess around with writing their own scripts. This could also help wrap Pyatoa into bash scripts, in a similar way that the SPECFEM exectuable xcreate_adjsrc_traveltime operates

Implementation

Likely an external script installed as a project script (via pip) that points to data and runs through data, standardization etc. Users can also point to a YAML config file for more granular control of windowing/ adjoint source tuning parameters controlled by Pyflex and Pyadjoint.

An example command line call might look like

pyatoa --obs *.SAC --syn *.semd --min_period 10 --max_period 30 --win_start 15 --win_end 30 \
    --adjsrc_type cc_traveltime --output SEM/ --plot True

Users could manually input windows or let Pyflex automatically select them.