User query |
Which hazard models provide uniform hazard spectra for the site of my interest? |
---|---|
Request format |
[base-url]/spectra?lat=[latitude]&lon=[longitude] |
Request example |
http://appsrvr.share-eu.org:8080/share/spectra?lon=7.6&lat=42.5 |
Response example |
<models> |
User query |
Which are the intensity measurement types (IMT) for which response spectra are available from a selected model at my location of interest? Potential measurement types are spectral acceleration (SA), spectral velocity (SV), and spectral displacement (SD) |
---|---|
Request format |
[base-url]/spectra?lat=[latitude]&lon=[longitude]&id=[modelID] |
Request example |
http://appsrvr.share-eu.org:8080/share/spectra?lon=7.6&lat=42.5&id=68 |
Response example |
<imtcodes> <imtcode> <code>SA</code> <imunittype>not available</imunittype> <imunitdescr/> </imtcode> </imtcodes> |
User query |
For which probability of exceedance and what time span are response spectra are available a selected model and IMT at my location of interest? Note that from SHARE calculations, spectra are always provided in annual probability of exceedance. |
---|---|
Request format |
[base-url]/spectra?lat=[latitude]&lon=[longitude]&id=[modelID]&imt=[SA|SV|SD] |
Request example |
http://appsrvr.share-eu.org:8080/share/spectra?lon=7.6&lat=42.5&id=68&imt=SA |
Response example |
<exceedances> |
User query |
For which soil classes /surface geology conditions are uniform hazard spectra available from the model of my interest, describing the hazard in the units of my interest at the site of my interest? Note that all SHARE hazard data is provided for standard rock sites. |
---|---|
Request format |
[base-url]/spectra?lat=[latitude]&lon=[longitude]&modelid=[modelID]&imt=[IMT]&poe=[POE]×panpoe=[timespanpoe] |
Request example |
http://appsrvr.share-eu.org:8080/share/spectra?lat=47.092585345624&lon=7.8893675443745&id=68&imt=SA&poe=0.1×panpoe=50 |
Response example |
<soiltype> |
User query |
Given a model, an IMT, and a soil type, how was the uniform hazard spectrum of a multi-branch logic tree model aggregated for the available curves? Answers are arithmetic mean (arithmetic aggregation at a 0.5 level), quantiles (ordinal aggregation with levels from 0 … 1), or “single” for single branch models without model branch aggregation. |
---|---|
Request format |
[base-url]/spectra?id= lat=[latitude]&lon=[longitude]&[model-id]&IMT=[IMT]&soiltype=[soiltype]&poe=[poe]×panpoe=[timespanpoe] |
Request example |
http://appsrvr.share-eu.org:8080/share/spectra?lat=47.092585345624&lon=7.8893675443745&id=68&imt=SA&poe=0.1×panpoe=50&soiltype=rock_vs30_800ms-1 |
Response example |
<fractiles> |
User query |
Given all previously selected parameters, retrieve a uniform hazard spectrum. |
---|---|
Request format |
[base-url]/spectra?id= lat=[latitude]&lon=[longitude]&[model-id]&IMT=[IMT]&soiltype=[soiltype]&aggregationtype=[arithmetic|ordinal]&aggregationlevel=[0..1] |
Request example |
http://appsrvr.share-eu.org:8080/share/spectra?lat=47.092585345624&lon=7.8893675443745&id=68&imt=SA&poe=0.1×panpoe=50&soiltype=rock_vs30_800ms-1&aggregationtype=ordinal&aggregationlevel=0.5 |
Response example |
The return format for hazard spectra is structurally an exact analogon to the format for hazard curves:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |