User query |
Which hazard models provide hazard curves for the site of my interest? |
---|---|
Request format |
[base-url]/curve?lat=[latitude]&lon=[longitude] |
Request example |
http://appsrvr.share-eu.org:8080/share/curve?lat=47.5&lon=7.6 |
Response example |
<models> |
User query |
For which IMT are hazard curves available from the model of my interest, describing the site of my interest? |
---|---|
Request format |
[base-url]/curve?lat=[latitude]&lon=[longitude]&modelid=[modelid] |
Request example |
http://appsrvr.share-eu.org:8080/share/curve?lat=47.0&lon=6.0&modelid=71 |
Response example |
<imtcodes> <imtcode> <code>SA[0.25s]</code> <imunittype>g</imunittype> <imunitdescr>gravity, 1g = 980.5 cm/s/s</imunitdescr> </imtcode> <imtcode> <code>SA[0.50s]</code> <imunittype>g</imunittype> <imunitdescr>gravity, 1g = 980.5 cm/s/s</imunitdescr> </imtcode> .... </imtcodes> |
Note: within SHARE, only hazard for rock sites have been calculated. However, this feature will allow in future to compare SHARE hazard to other hazard calculations.
User query |
For which soil classes /surface geology conditions are hazard curves available from the model of my interest, describing the hazard in the units of my interest at the site of my interest? |
---|---|
Request format |
[base-url]/curve?lat=[latitude]&lon=[longitude]&modelid=[modelID]&imt=[IMT] |
Request example |
http://appsrvr.share-eu.org:8080/share/curve?lat=47.0&lon=6.0&modelid=71&imt=PGA |
Response example |
<soiltypes> <soiltype> <type>rock_vs30_800ms-1</type> </soiltype> </soiltypes> |
User query |
Given a model, an IMT, and a soil type, how was the hazard of a multi-branch logic tree model aggregated for the available curves? Answers are arithmetic mean, quantiles (ordinal aggregation with levels from 0 … 1), or “single” for single branch models without model branch aggregation. |
---|---|
Request format |
[base-url]/curve?lat=[latitude]&lon=[longitude]&modelid=[modelID]&IMT=[IMT]&soiltype=[soiltype] |
Request example |
http://appsrvr.share-eu.org:8080/share/curve?lat=47.5&lon=7.6&modelid=71&imt=PGA&soiltype=rock_vs30_800ms-1 |
Response example |
<hazardcurvetypes> |
Hazard curves are provided in NRML 0.3 format. Note that the NRML (Natural Risk Markup Language) is undergoing rapid development by the GEM openquake development team, with several moves in scope. This is documented here: https://github.com/gem/oq-nrmllib/tree/master/openquake/nrmllib/schema . For the time being, and in order to provide a stable service for data users SHARE is sticking to the 0.3 version, which is pure XML and has an adequate level of self-containedness .
User query |
What is the hazard curve that provides all the above specifications? |
---|---|
Request format |
[base-url]/curve?lat=[latitude]&lon=[longitude]&modelid=[model-id]&IMT=[IMT]&soiltype=[soiltype]&aggregationtype=[ arithmetic | ordinal | single ]&aggregationlevel=[0…1] |
Request example |
http://appsrvr.share-eu.org:8080/share/curve?modelid=71&longitude=7.6821339&latitude=47.5&imt=PGA&soiltype=rock_vs30_800ms-1&aggregationtype=arithmetic&aggregationlevel=0.5 |
Response example |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |