ESM Grid Distances Web-Service

Sample requests

Publicly Available Data

Data can be obtained using any program supporting the HTTP-GET method, e.g. your favourite web browser:

Restricted Data (authenticated users only)

ESM Administrators and users with special authorizations can access data intended for internal use and/or embargoed.
Data can be obtained using any program supporting the HTTP-POST method, e.g. CURL:

HTTP-POST variables (required)

Option Description
messageThe clearsign token obtained from the generate-signed-message authentication webservice.

Query options

Option Description Default
type_distanceSpecify type of distance among 'Repi', 'Rypo', 'Rjb', 'Rx', 'Ry','Rrup', or 'all'.Repi
radius_eventSpecify type of distance among 'Repi', 'Rypo', 'Rjb', 'Rx', 'Ry','Rrup', or 'all'.Repi
factor_lengthMultiplier factor to cut the grid according to the fault length starting from the epicenter.
buffer_shapeShape of the buffer to cut the original grid: 'square' or 'circular'.circular
output-formatSpecify the format of the output file.
Available format are 'csv' or 'shapefile'.
csv
output-fileFilename of the output file. If output-format == 'shapefile', the output file will be in '.zip' formatoutput.csv
empirical-faultSpecify if construct the empirical fault or extract the geometry from db, if available, to potentially clip the grid.
{True,False}
False

To compute the selected distance, you need to set the following options for criterion 1 or 2 or 3 or 4.

CRITERION 1: to compute 'Repi' and 'Rypo' from hypocentral coordinates and 'Rjb', 'Rx', 'Ry','Rrup' if a fault geometry is associated to an ESM event

Option Description Default
eventid event ID.n/a

CRITERION 2: to compute 'Repi' and 'Rypo' from hypocentral coordinates and 'Rjb', 'Rx', 'Ry','Rrup' constructing an empirical fault for an ESM event considering its hypocentral coordinates and moment magnitude value.

Option Description Default
strikeValue of the strike-angle.n/a
dipValue of the dip-angle.n/a
rakeValue of the slip direction.n/a

CRITERION 3: to compute 'Repi' and 'Rypo' from nucleation point and 'Rjb', 'Rx', 'Ry','Rrup' constructing an empirical fault from generic coordinates.

Option Description Default
strikeValue of the strike-angle.n/a
dipValue of the dip-angle.n/a
rakeValue of the slip direction.n/a
nucleation-latitudeLatitude of the nucleation point in decimal degrees.n/a
nucleation-longitudeLongitude of the nucleation point in decimal degrees.n/a
nucleation-depthDepth of the nucleation point in kmn/a
magnitudeValue of the magnitude.n/a

CRITERION 4: to compute 'Repi', 'Rypo', 'Rjb', 'Rx', 'Ry','Rrup' constructing a fault geometry from reference point.

Option Description Default
upper-right-latitudeLatitude of the upper left corner of the fault (according to strike and dip values) in decimal degrees.n/a
upper-left-longitudeLongitude of the upper left corner of the fault (according to strike and dip values) in decimal degrees.n/a
fault-lengthLength of the surface projection of the fault [km].n/a
fault-widthWidth of the surface projection of the fault [km].n/a
z-topDepth of the fault top [km].n/a
strikeValue of the strike-angle.n/a
dipValue of the dip-angle.n/a

 


Backend Python software used by this web service is developed and maintained by Felicetta C. and Russo E.