Skip to content

run_id - #6

Merged
claudiodsf merged 10 commits into
SeismicSource:masterfrom
krisvanneste:run_id
Jul 18, 2022
Merged

claudiodsf merged 10 commits into
SeismicSource:masterfrom
krisvanneste:run_id

Conversation

@krisvanneste

Copy link
Copy Markdown
Collaborator

This feature branch adds a --run-id command-line argument to source_spec. The run_id is used to name the output folder and is also added in a dedicated field in the database. This allows running source_spec with different configurations for the same event without overwriting the corresponding results.

@claudiodsf

Copy link
Copy Markdown
Member

Hi kris, thanks for the pull request.

I'm adding a few extra commits and I'll let you know when I'm done.

@claudiodsf
claudiodsf force-pushed the run_id branch 2 times, most recently from 2dff555 to e35ff4d Compare July 18, 2022 06:30
claudiodsf added a commit to krisvanneste/sourcespec that referenced this pull request Jul 18, 2022
@claudiodsf

Copy link
Copy Markdown
Member

Hi @krisvanneste,
that's good for me.

Let me know if it's ok for you as well, so that I'll merge.

@krisvanneste

Copy link
Copy Markdown
Collaborator Author

Claudio,
Thanks for your improvements!
This branch works OK for me.

Kris

@claudiodsf
claudiodsf merged commit 6c934ac into SeismicSource:master Jul 18, 2022
@claudiodsf

Copy link
Copy Markdown
Member

Great! Merged! Thanks again

claudiodsf added a commit to krisvanneste/sourcespec that referenced this pull request Jul 18, 2022
* Added `--run_id` command-line argument in `_update_parser` function.

* Add optional `run_id` to new `outdir` name in `move_outdir` function.

* Add `runid` field to station and event tables in `_write_db` function.

* Write `run_id` (if not empty) to parfile

* Write `run_id` (if not empty) to HTML report

* Changelog for PR SeismicSource#6

* Add Kris to contributors ;-)

Co-authored-by: Claudio Satriano <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants