nshmp-lib
nshmp-lib is a U.S. Geological Survey (USGS) developed Java library that supports probabilistic seismic hazard (PSHA) and related analyses. This project includes all the code required to load, process and query USGS National Seismic Hazard Models (NSHMs). nshmp-lib is used by command line applications and web services found in the nshmp-haz project. See that project for details on running PSHA calculations.
The project uses Gradle for building and testing. To run unit tests and create a JAR file
for use in other projects, run ./gradlew build
from the root of the repository.
(or ./gradlew.bat build
if using Windows).
The current published version of the code is 1.0.0 with IPDS record: IP-139141.
See also:
- nshmp-haz and related documentation
- Project Javadocs
Suggested citation: Powers, P.M., Clayton, B.S., and Altekruse, J.M., 2022, nshmp-lib: National Seismic Hazard Model processing library. U.S. Geological Survey software release, doi: 10.5066/P9DKFJ5V.