This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
Duplicate code for computing station metrics and using parallel processing #1017
Labels
bug
Something isn't working
Computing station metrics is one of the slowest steps when processing datasets (if you use multiple processes), because it runs on a single process. In looking to see how we might make it run in parallel, I believe I found duplicate code for computing station metrics.
We have the subcommand code
subcommands.compute_station_metrics._event_station_metrics
. This code would need refactoring to run in parallel.There is also
station_summary.StationSummary.compute_station_metrics
. This one looks like it might be setup to be able to be called in parallel as the code layout appears to matchcompute_waveform_metrics
.@emthompson-usgs Can you look at these routines to see if there are significant differences? The subcommand code looks like it is newer, so it may do things the StationSummary code does not.
The text was updated successfully, but these errors were encountered: