Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line window and adjoint source maker #46

Open
bch0w opened this issue Jun 6, 2024 · 0 comments
Open

Command line window and adjoint source maker #46

bch0w opened this issue Jun 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bch0w
Copy link
Member

bch0w commented Jun 6, 2024

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.

@bch0w bch0w added the enhancement New feature or request label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant