```
```{tab} CE.58360
```
```{tab} NC.C010
```
```{tab} NC.CRH
```
```{tab} NP.1844
```
### Report Explanation
The full report for each station also includes the provenance table and failure reason (not shown here).
The **first row** of plots is the acceleration time series. The vertical dashed red line indicates the boundary between the signal and noise windows where it is about 1--2 seconds before the P-wave arrival time. The **second row** of plots is the velocity time series, and the **third row** of plots is the displacement time series. The blue and red colors indicate the signal and noise respectively.
The **fourth row** of plots gives the raw and smoothed Fourier amplitude spectra, where the dashed black curve is a Brune spectra fit to the data, and the vertical dashed line is the corner frequency.
The **fifth row** of plots is the signal-to-noise ratio (SNR), where the vertical grey lines indicate the band where the SNR criteria are required, the horizontal grey line is the minimum SNR, and the vertical black dashed lines are the selected bandpass filter corners. **Note:** Due to recent changes in code development, your output may not look exactly like the one shown.
## Compute Station Metrics
The `compute_station_metrics` subcommand computes station metrics (like epicentral distance) and add them to the ASDF workspace file.
:::{command-output} gmrecords compute_station_metrics
---
cwd: .
---
:::
## Compute Waveform Metrics
The `compute_waveform_metrics` subcommand computes waveform metrics (such as spectral accelerations) and adds them to the ASDF workspace file.
The waveform metrics that are computed are defined in the metrics section of the conf file.
The metrics are defined by intensity metric types (for example, spectral acceleration vs duration) and intensity measure component (how the instrument components are combined).
:::{command-output} gmrecords compute_waveform_metrics
---
cwd: .
---
:::
:::{note}
Waveform metrics will not be computed for stations that do not pass the quality checks.
:::
## Export Failure Tables
It is useful to summarize the reasons that records have failed the QA checks, and this information can be output in a spreadsheet using the `export_failure_tables` subcommand.
Unlike many of the other subcommands, the output combines the results in all project events and puts the result into the base project directory.
:::{command-output} gmrecords export_failure_tables
---
cwd: .
---
:::
## Export Metric Tables
Although the metrics can be accessed directly from the ASDF file, it is often convenient to save the metrics (both station and waveform) into a "flatfile" where each row corresponds to a single record.
:::{command-output} gmrecords export_metric_tables
---
cwd: .
---
:::
Note that the metric tables are organized into separate files for each intensity measure component (i.e., "IMT").
## Export Provenance Tables
As with the metric and failure tables, you can also output tables summarizing the provenance information.
:::{command-output} gmrecords export_provenance_tables
---
cwd: .
---
:::
## Generate Regression Plot
Although the report created by the `generate_report` subcommand is helpful for checking for some possible processing problems, it cannot identify outliers that may be due to incorrect metadata (such as the gain).
This type of issue is relatively common, and can sometimes be identified by plotting the peak ground acceleration as a function of distance.
:::{important}
You must run the `export_metric_tables` before running `generate_regression_plot`.
:::
:::{command-output} gmrecords generate_regression_plot
---
cwd: .
---
:::
An example is given below, but for this plot we re-ran the above commands with a larger maximum station radius (0.8 degrees) to make the plot look a little bit more interesting than it looks for a small dataset.
```{figure} ../../_static/regression_rotd50.0_PGA.png
Peak ground acceleration versus epicentral distance for expanded dataset (max station distance of 0.8 degrees).
```
## Station Map
The `generate_station_maps` command makes an interactive HTML map that can be opened in a browser.
:::{command-output} gmrecords generate_station_maps
---
cwd: .
---
:::
Example interactive station map. #