USGS Earthquake Hazard Toolbox
Angular web applications for exploring hazard, disaggregations, ground motion models, magnitude frequency distributions, and other earthquake hazard attributes.
The web applications utilize various web services from nshmp-haz, nshmp-ws, nshmp-ws-static, and other sources.
The codebase, collectively called the USGS Earthquake Hazard Toolbox, replaces the Unified Hazard Toolbox (UHT).
The USGS Earthquake Hazard Toolbox can be found at https://earthquake.usgs.gov/nshmp/.
The current published version of the code is 1.0.0 with IPDS record: IP-151856.
Suggested citation: Clayton, B.S., Powers, P.M., 2023, nshmp-apps: USGS Earthquake Hazard Toolbox. U.S. Geological Survey software release, doi: 10.5066/P9UAIISF.
Contents
Documenation and User Guide
Repository and Angular documentation:
Repository Documentation
General documentation about this repository and development.
Angular USGS Earthquake Hazard Toolbox Documentation
Documentation on each application in the USGS Earthquake Hazard Toolbox.
USGS Earthquake Hazard Toolbox Applications
The Angular applications collectivly create the USGS Earthquake Hazard Toolbox.
Applications
USGS Earthquake Hazard Toolbox Dashboard
- Web application: https://earthquake.usgs.gov/nshmp/
- Source code
![]() |
![]() |
Hazard Applications
Disaggregation
- Web application: https://earthquake.usgs.gov/nshmp/hazard/disagg
- Source code
![]() |
![]() |
Dynamic Hazard Calculations
- Web application: https://earthquake.usgs.gov/nshmp/hazard/dynamic
- Source code
![]() |
![]() |
Static Hazard
- Web application: https://earthquake.usgs.gov/nshmp/hazard/static
- Source code
![]() |
![]() |
Ground Motion Model Applications
Ground Motion vs. Distance
- Web application: https://earthquake.usgs.gov/nshmp/gmm/distance
- Source code
![]() |
![]() |
Ground Motion vs. Magnitude
- Web application: https://earthquake.usgs.gov/nshmp/gmm/magnitude
- Source code
![]() |
![]() |
Response Spectra
- Web application: https://earthquake.usgs.gov/nshmp/gmm/spectra
- Source code
![]() |
![]() |
Source Model Applications
Model Mapping
- Web application: https://earthquake.usgs.gov/nshmp/source/model-maps
- Source code
![]() |
![]() |
Magnitude Frequency Distribution
- Web application: https://earthquake.usgs.gov/nshmp/source/mfd
- Source code
![]() |
![]() |
Services Application
- Web application: https://earthquake.usgs.gov/nshmp/services
- Source code
![]() |
![]() |
Commands
- General NPM commands:
- Install dependencies:
npm ci
- Lint:
npm run lint
- Lint Fix:
npm run fix
- Unit tests:
npm run test
- Install dependencies:
- Angular Commands
- Start application:
npm run start
- Build application:
npm run build
- Production build:
npm run build:prod
- Serve production build locally:
npm run start:prod
- Start application:
- Documentation Commands
- Build Compodocs:
npm run compodoc:build
- Build and serve Compodocs:
npm run compodoc:start
- Build Compodocs: