Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Database for workflow status #1056

@emthompson-usgs

Description

@emthompson-usgs

I'm thinking that a simple sqlite database to track the command history and status would be useful. I think that having a table for each of these subcommands:

  • download
  • assemble
  • process_waveforms
  • compute_station_metrics
  • compute_waveform_metrics
  • generate_report
  • generate_station_maps

And each subcommand table would have the following columns:

  • project
  • label
  • eqid
  • start_time
  • end_time
  • success
  • error_message

I think this should help keep track of when some events have had problems in projects with lots of events.

We could also add a subcommand to summarize the command status. One idea would be a table with rows for eqid and columns for each subcommand with cell values for the most recent end_time (empty if last run is not successful).

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureMajor new feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions