usgs / groundmotion-processing

Parsing and processing ground motion data
Other
54 stars 42 forks source link

Reprocessing human-reviewed h5 file #896

Closed meramossepu closed 2 years ago

meramossepu commented 2 years ago

Is your feature request related to a problem? Please describe.

We have created a GUI in Jupyter notebooks that allows us to make a human revision of the processed records. This is to avoid the acceptance of noisy records that passed the failing criteria or improve the selection of high-pass corner frequencies. The GUI adds an entry in the "dataset.auxiliary_data.review" group that informs the user if the record was accepted, rejected and if the high-pass corner frequency was modified. The current gmprocess does not read this entry and it does not reprocess the record.

Describe the solution you'd like

An extra step is needed so gmprocess could read the modified h5 file and reprocess the records that have modified corner frequencies

Describe alternatives you've considered

N/A

Additional context

The modifications to the h5 file are depicted in the following manner: review: image (1)

corner_frequency.highpass: image (2)

accepted: image (3)

emthompson-usgs commented 2 years ago

Please add the notebook to the repository so that I can run it. If I can do that and get an example ASDF file then I can add the functionality to gmprocess to make use of the review data.

meramossepu commented 2 years ago

ProcessorGUI.zip

Let me know if you run into any issues.