Magnitude-binned hazard calc outputs and implementation
Related to Issue #230 (closed). Based on conversations with @pmpowers and @amakdisi on 10/1/2024.
-
Performing multi-site calculations locally (with eventual expansion to gridded calcs in support of building codes and USGS Seismic Design Geodatabases.
- For a relatively small number sites, output can probably look like a separate .csv for each site, with the Mw-binned hazard curves presented in row-column format
- For a larger number of sites, we want to switch over to something more efficient, like one .csv file for each magnitude bin, with each row corresponding to the PGA hazard curves at a given set of coordinates
- Probably need to decide on the right number of sites for this switch-over in output format (20? 50? 100?)
-
Web-services implementation
- Seems like the best way to tackle this would be as an add-on to the https://earthquake.usgs.gov/ws/nshmp/conus-2023/dynamic/#/Hazard%20Curves/hazard-calc service, where the user provides a flag requesting the hazard curves be binned by Mw.
json
output can be structured similarly to the "component" source hazard curves, where the individual components are labeled "Mw{BinValue}"
- Seems like the best way to tackle this would be as an add-on to the https://earthquake.usgs.gov/ws/nshmp/conus-2023/dynamic/#/Hazard%20Curves/hazard-calc service, where the user provides a flag requesting the hazard curves be binned by Mw.
"hazardCurves": [ { "imt": { "display": "PGA", "value": "PGA" }, "data": [ { "component": "Total", "values": {}, } "component": "Mw4.4", "values": {}, }