Deterministic Endpoint Documentation

This endpoint returns NSHM deterministic hazard ground motion values for PGA, 1.0 s SA, and 2.0 s SA periods. The data have not been adjusted for maximum direction or other design-specific factors. The data may be used as inputs for computing ground motion data suitable for use with the specified reference document.

This software is preliminary or provisional and is subject to revision. It is being provided to meet the need for timely best science. The software has not received final approval by the U.S. Geological Survey (USGS). No warranty, expressed or implied, is made by the USGS or the U.S. Government as to the functionality of the software and related material nor shall the fact of release constitute any such warranty. The software is provided on the condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the software.

Request Parameters

Required parameters

latitude
Latitude for location at which to fetch results
Example: 34
longitude
Longitude for location at which to fetch results
Example: -118
referenceDocument
Design code reference document corresponding to hazard dataset for which to fetch results
Example: ASCE41-13

Output

Web service response

request
date
Timestamp
Example: “YYYY-MM-DDThh:mm:ssZ”
referenceDocument
Design code reference document corresponding to hazard dataset for returned results
Example: “ASCE41-13”
status
String (“success” or “error”)
Example: “success”
url
URL to reproduce this result
Example: /deterministic.json?latitude=34&longitude=-118&referenceDocument=ASCE41-13”
parameters
latitude
Latitude for location at which to fetch results
Example: 34
longitude
Longitude for location at which to fetch results
Example: -118
response
data
pgad
Mapped deterministic ground motion value (Peak Ground Acceleration)
s1d
Mapped deterministic ground motion value (1.0 s)
ssd
Mapped deterministic ground motion value (0.2 s)
metadata
modelVersion
Identifier for the underlying model version in the database
regionName
Identifier for the underlying region name in the database
spatialInterpolationMethod
Identifier for the interpolation method used to obtain data for location of interest from underlying gridded datasets

Example

Request

/deterministic.json?latitude=34&longitude=-118&referenceDocument=ASCE41-13

Response

{
  "request": {
    "date": "2017-09-20T20:48:29.496Z",
    "referenceDocument": "ASCE41-13",
    "status": "success",
    "url": "http://localhost/ws/designmaps/deterministic.json?latitude=34&longitude=-118&referenceDocument=ASCE41-13",
    "parameters": {
      "latitude": 34,
      "longitude": -118
    }
  },
  "response": {
    "data": {
      "pgad": 0.5666,
      "s1d": 0.4291,
      "ssd": 1.3788
    },
    "metadata": {
      "spatialInterpolationMethod": "linearlinearlinear",
      "modelVersion": "v3.1.x",
      "regionName": "E2008R2_COUS0P01_Deterministic",
      "gridSpacing": 0.01
    }
  }
}