ASCE7-22
This MR adds in support for the ASCE7-22 reference document. This is a clone of the NEHRP-2020 reference document. This only adds the composite endpoint; underlying calls continue to reference NEHRP-2020 and direct calls to component services for data related to ASCE7-22 will fail.
If merged, we can test this on our development system and potentially deploy a version to production.
Example Request: http://localhost:8000/ws/designmaps/asce7-22.json?latitude=34&longitude=-118&riskCategory=III&siteClass=C&title=Example
Example Response:
{
"request": {
"date": "2022-06-07T14:27:29.712Z",
"referenceDocument": "ASCE7-22",
"status": "success",
"url": "http://localhost:8000/ws/designmaps/asce7-22.json?latitude=34&longitude=-118&riskCategory=III&siteClass=C&title=Example",
"parameters": {
"latitude": 34,
"longitude": -118,
"riskCategory": "III",
"siteClass": "C",
"title": "Example"
}
},
"response": {
"data": {
"pgam": 0.9,
"sms": 2.19,
"sm1": 1.05,
"sds": 1.46,
"sd1": 0.7,
"sdc": "D",
"ss": 2.15,
"s1": 0.75,
"ts": 0.479,
"t0": 0.0958,
"tl": 8,
"cv": null,
"multiPeriodDesignSpectrum": {
"periods": [
0,
0.01,
0.02,
0.03,
0.05,
0.075,
0.1,
0.15,
0.2,
0.25,
0.3,
0.4,
0.5,
0.75,
1,
1.5,
2,
3,
4,
5,
7.5,
10
],
"ordinates": [
0.65,
0.66,
0.67,
0.72,
0.9,
1.14,
1.33,
1.53,
1.62,
1.6,
1.51,
1.32,
1.15,
0.88,
0.7,
0.44,
0.31,
0.19,
0.13,
0.1,
0.063,
0.042
]
},
"multiPeriodMCErSpectrum": {
"periods": [
0,
0.01,
0.02,
0.03,
0.05,
0.075,
0.1,
0.15,
0.2,
0.25,
0.3,
0.4,
0.5,
0.75,
1,
1.5,
2,
3,
4,
5,
7.5,
10
],
"ordinates": [
0.98,
0.99,
1,
1.08,
1.35,
1.71,
1.99,
2.3,
2.43,
2.4,
2.26,
1.98,
1.72,
1.32,
1.05,
0.66,
0.47,
0.28,
0.2,
0.15,
0.094,
0.063
]
},
"twoPeriodDesignSpectrum": {
"periods": [
0,
0.025,
0.05,
0.096,
0.1,
0.15,
0.2,
0.25,
0.3,
0.35,
0.4,
0.45,
0.48,
0.5,
0.55,
0.6,
0.65,
0.7,
0.75,
0.8,
0.85,
0.9,
0.95,
1,
1.05,
1.1,
1.15,
1.2,
1.25,
1.3,
1.35,
1.4,
1.45,
1.5,
1.55,
1.6,
1.65,
1.7,
1.75,
1.8,
1.85,
1.9,
1.95,
2,
2.05,
2.1,
2.15,
2.2,
2.25,
2.3,
2.35,
2.4,
2.45,
2.5,
2.55,
2.6,
2.65,
2.7,
2.75,
2.8,
2.85,
2.9,
2.95,
3,
3.05,
3.1,
3.15,
3.2,
3.25,
3.3,
3.35,
3.4,
3.45,
3.5,
3.55,
3.6,
3.65,
3.7,
3.75,
3.8,
3.85,
3.9,
3.95,
4,
4.05,
4.1,
4.15,
4.2,
4.25,
4.3,
4.35,
4.4,
4.45,
4.5,
4.55,
4.6,
4.65,
4.7,
4.75,
4.8,
4.85,
4.9,
4.95,
5,
5.05,
5.1,
5.15,
5.2,
5.25,
5.3,
5.35,
5.4,
5.45,
5.5,
5.55,
5.6,
5.65,
5.7,
5.75,
5.8,
5.85,
5.9,
5.95,
6,
6.05,
6.1,
6.15,
6.2,
6.25,
6.3,
6.35,
6.4,
6.45,
6.5,
6.55,
6.6,
6.65,
6.7,
6.75,
6.8,
6.85,
6.9,
6.95,
7,
7.05,
7.1,
7.15,
7.2,
7.25,
7.3,
7.35,
7.4,
7.45,
7.5,
7.55,
7.6,
7.65,
7.7,
7.75,
7.8,
7.85,
7.9,
7.95,
8,
8.05,
8.1,
8.15,
8.2,
8.25,
8.3,
8.35,
8.4,
8.45,
8.5,
8.55,
8.6,
8.65,
8.7,
8.75,
8.8,
8.85,
8.9,
8.95,
9
],
"ordinates": [
0.58,
0.81,
1.04,
1.46,
1.46,
1.46,
1.46,
1.46,
1.46,
1.46,
1.46,
1.46,
1.46,
1.4,
1.27,
1.17,
1.08,
1,
0.93,
0.87,
0.82,
0.78,
0.74,
0.7,
0.67,
0.64,
0.61,
0.58,
0.56,
0.54,
0.52,
0.5,
0.48,
0.47,
0.45,
0.44,
0.42,
0.41,
0.4,
0.39,
0.38,
0.37,
0.36,
0.35,
0.34,
0.33,
0.33,
0.32,
0.31,
0.3,
0.3,
0.29,
0.29,
0.28,
0.27,
0.27,
0.26,
0.26,
0.25,
0.25,
0.25,
0.24,
0.24,
0.23,
0.23,
0.23,
0.22,
0.22,
0.22,
0.21,
0.21,
0.21,
0.2,
0.2,
0.2,
0.19,
0.19,
0.19,
0.19,
0.18,
0.18,
0.18,
0.18,
0.17,
0.17,
0.17,
0.17,
0.17,
0.16,
0.16,
0.16,
0.16,
0.16,
0.16,
0.15,
0.15,
0.15,
0.15,
0.15,
0.15,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.13,
0.13,
0.13,
0.13,
0.13,
0.13,
0.13,
0.13,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.099,
0.099,
0.098,
0.097,
0.096,
0.096,
0.095,
0.095,
0.094,
0.093,
0.093,
0.092,
0.091,
0.091,
0.09,
0.09,
0.089,
0.089,
0.088,
0.087,
0.086,
0.085,
0.084,
0.083,
0.082,
0.081,
0.08,
0.079,
0.078,
0.077,
0.077,
0.076,
0.075,
0.074,
0.073,
0.072,
0.071,
0.071,
0.07,
0.069
]
},
"twoPeriodMCErSpectrum": {
"periods": [
0,
0.025,
0.05,
0.096,
0.1,
0.15,
0.2,
0.25,
0.3,
0.35,
0.4,
0.45,
0.48,
0.5,
0.55,
0.6,
0.65,
0.7,
0.75,
0.8,
0.85,
0.9,
0.95,
1,
1.05,
1.1,
1.15,
1.2,
1.25,
1.3,
1.35,
1.4,
1.45,
1.5,
1.55,
1.6,
1.65,
1.7,
1.75,
1.8,
1.85,
1.9,
1.95,
2,
2.05,
2.1,
2.15,
2.2,
2.25,
2.3,
2.35,
2.4,
2.45,
2.5,
2.55,
2.6,
2.65,
2.7,
2.75,
2.8,
2.85,
2.9,
2.95,
3,
3.05,
3.1,
3.15,
3.2,
3.25,
3.3,
3.35,
3.4,
3.45,
3.5,
3.55,
3.6,
3.65,
3.7,
3.75,
3.8,
3.85,
3.9,
3.95,
4,
4.05,
4.1,
4.15,
4.2,
4.25,
4.3,
4.35,
4.4,
4.45,
4.5,
4.55,
4.6,
4.65,
4.7,
4.75,
4.8,
4.85,
4.9,
4.95,
5,
5.05,
5.1,
5.15,
5.2,
5.25,
5.3,
5.35,
5.4,
5.45,
5.5,
5.55,
5.6,
5.65,
5.7,
5.75,
5.8,
5.85,
5.9,
5.95,
6,
6.05,
6.1,
6.15,
6.2,
6.25,
6.3,
6.35,
6.4,
6.45,
6.5,
6.55,
6.6,
6.65,
6.7,
6.75,
6.8,
6.85,
6.9,
6.95,
7,
7.05,
7.1,
7.15,
7.2,
7.25,
7.3,
7.35,
7.4,
7.45,
7.5,
7.55,
7.6,
7.65,
7.7,
7.75,
7.8,
7.85,
7.9,
7.95,
8,
8.05,
8.1,
8.15,
8.2,
8.25,
8.3,
8.35,
8.4,
8.45,
8.5,
8.55,
8.6,
8.65,
8.7,
8.75,
8.8,
8.85,
8.9,
8.95,
9
],
"ordinates": [
0.88,
1.22,
1.56,
2.19,
2.19,
2.19,
2.19,
2.19,
2.19,
2.19,
2.19,
2.19,
2.19,
2.1,
1.91,
1.75,
1.61,
1.5,
1.4,
1.31,
1.23,
1.17,
1.1,
1.05,
1,
0.95,
0.91,
0.87,
0.84,
0.81,
0.78,
0.75,
0.72,
0.7,
0.68,
0.66,
0.64,
0.62,
0.6,
0.58,
0.57,
0.55,
0.54,
0.52,
0.51,
0.5,
0.49,
0.48,
0.47,
0.46,
0.45,
0.44,
0.43,
0.42,
0.41,
0.4,
0.4,
0.39,
0.38,
0.37,
0.37,
0.36,
0.36,
0.35,
0.34,
0.34,
0.33,
0.33,
0.32,
0.32,
0.31,
0.31,
0.3,
0.3,
0.3,
0.29,
0.29,
0.28,
0.28,
0.28,
0.27,
0.27,
0.27,
0.26,
0.26,
0.26,
0.25,
0.25,
0.25,
0.24,
0.24,
0.24,
0.24,
0.23,
0.23,
0.23,
0.23,
0.22,
0.22,
0.22,
0.22,
0.21,
0.21,
0.21,
0.21,
0.21,
0.2,
0.2,
0.2,
0.2,
0.2,
0.19,
0.19,
0.19,
0.19,
0.19,
0.19,
0.18,
0.18,
0.18,
0.18,
0.18,
0.18,
0.17,
0.17,
0.17,
0.17,
0.17,
0.17,
0.17,
0.17,
0.16,
0.16,
0.16,
0.16,
0.16,
0.16,
0.16,
0.16,
0.15,
0.15,
0.15,
0.15,
0.15,
0.15,
0.15,
0.15,
0.15,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.14,
0.13,
0.13,
0.13,
0.13,
0.13,
0.13,
0.13,
0.13,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.1,
0.1
]
},
"verticalDesignSpectrum": {
"periods": [],
"ordinates": []
},
"verticalMCErSpectrum": {
"periods": [],
"ordinates": []
},
"underlyingData": {
"pgauh": 0.9,
"pga84th": 0.97,
"riskTargetedSpectrum": {
"periods": [
0,
0.01,
0.02,
0.03,
0.05,
0.075,
0.1,
0.15,
0.2,
0.25,
0.3,
0.4,
0.5,
0.75,
1,
1.5,
2,
3,
4,
5,
7.5,
10
],
"ordinates": [
0.98,
0.99,
1,
1.08,
1.35,
1.71,
1.99,
2.3,
2.43,
2.4,
2.26,
1.98,
1.72,
1.32,
1.05,
0.66,
0.47,
0.28,
0.2,
0.15,
0.094,
0.063
]
},
"eightyFourthSpectrum": {
"periods": [
0,
0.01,
0.02,
0.03,
0.05,
0.075,
0.1,
0.15,
0.2,
0.25,
0.3,
0.4,
0.5,
0.75,
1,
1.5,
2,
3,
4,
5,
7.5,
10
],
"ordinates": [
1.17,
1.17,
1.2,
1.29,
1.6,
1.97,
2.24,
2.64,
2.89,
2.88,
2.7,
2.37,
2.08,
1.64,
1.32,
0.84,
0.6,
0.39,
0.28,
0.22,
0.13,
0.087
]
}
}
},
"metadata": {
"vs30": 530,
"modelVersion": "v5.0.x",
"pgadFloor": 0.55,
"pgadPercentileFactor": 1,
"sadFloor": {
"periods": [
0,
0.01,
0.02,
0.03,
0.05,
0.075,
0.1,
0.15,
0.2,
0.25,
0.3,
0.4,
0.5,
0.75,
1,
1.5,
2,
3,
4,
5,
7.5,
10
],
"ordinates": [
0.73,
0.73,
0.74,
0.79,
0.96,
1.19,
1.37,
1.61,
1.71,
1.71,
1.66,
1.53,
1.38,
1.07,
0.86,
0.6,
0.45,
0.31,
0.24,
0.19,
0.11,
0.069
]
},
"sadPercentileFactor": {
"periods": [
0,
0.01,
0.02,
0.03,
0.05,
0.075,
0.1,
0.15,
0.2,
0.25,
0.3,
0.4,
0.5,
0.75,
1,
1.5,
2,
3,
4,
5,
7.5,
10
],
"ordinates": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
},
"maxDirectionFactor": {
"periods": [
0,
0.01,
0.02,
0.03,
0.05,
0.075,
0.1,
0.15,
0.2,
0.25,
0.3,
0.4,
0.5,
0.75,
1,
1.5,
2,
3,
4,
5,
7.5,
10
],
"ordinates": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
},
"spatialInterpolationMethod": "linearloglinear"
}
}
}