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.

Review tool for large "projects" #1019

@baagaard-usgs

Description

@baagaard-usgs

Difficulty of per-earthquake reports for large "projects"

For gmprocess "projects" with hundreds of earthquakes, it is difficult to quickly review the data using the report and station maps that are one file per earthquake. For example, viewing all of the waveforms results in opening hundreds of PDF files. Likewise, viewing all of the station maps results in opening hundreds of HTML files. Additionally, we often want to view only a subset of the information.

Desired Solution

Use cases

  • Review all records with status==passed to check for records that we want to fail
  • Review all records with status==failed to check for records we want to pass
  • Review records for problematic earthquakes (multiple earthquakes, large fraction of failed records)
  • Review records for problematic stations (large fraction of failed records)

Earthquake-centric view

  • Main table of earthquakes (one row per earthquake)
    • Each row shows earthquake id, magnitude, date, total number of records, number of records that passed, number of records that failed
    • User selection of earthquakes (table rows) (single, multiple, or range)
  • Option to view secondary table with one row per record for earthquakes selected from main table
    • Each row shows network code, station code, channel code (e.g., HH,HN), epicentral distance, pass/fail status
    • User selection of records (table rows) (single, multiple, or range)
    • View waveforms for selected records (table rows)
    • View map of selected earthquakes and stations (be able to click on station to view waveforms)
  • Table rows can be sorted based on any column

Station-centric view

  • Main table of stations (one row per station)
    • Each row shows network code, station code, channel code (e.g., HN,HH), total number of records, number of records that passed, number of records that failed
    • User selection of stations (table rows) (single, multiple, or range)
  • Option to view secondary table with one row per record for stations selected from main table
    • Each row shows earthquake id, earthquake magnitude, date, epicentral distance, pass/fail status
    • User selection of records (table rows) (single, multiple, or range)
    • View waveforms for selected records (table rows)
    • View map of selected earthquakes and stations (be able to click on station to view waveforms)
  • Table rows can be sorted based on any column

Waveform panel

  • View single station record at a time with ability to go advance to next/previous selected station record
  • Current station record being viewed is highlighted in corresponding row in table and symbol on map

Map panel

  • Shows current selected earthquakes and stations
  • Color station symbols by pass/fail status and whether record is currently selected
  • Color earthquake symbols by whether record is currently selected

Implementation Ideas

  • Could be a Python or Web-based application (JavaScript based application may be easiest to maintain in the long-term given USGS Earthquake Hazards Program expertise)
  • Pieces of this tool already exist
  • Can start with subset of features and interaction and incrementally add more
  • Waveform plots could be images (like the PDF reports) stored on the filesystem
  • Panels (tables, map, waveforms) could become pop-out windows (click on button to display panel as a separate window)
  • Should probably have database rather than HDF5 workspace files back-end

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureMajor new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions