Data must be obtained using any program supporting the HTTP-POST method, e.g. CURL:
curl -X POST -F "target=@outputfile-target-spectrum.zip" -F "spectra=@outputfile-spectra-selection.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-run-matching/1/query?adimensional-flag=1" -o outputfile-run-matching.zip"
HTTP-POST variables (required)
Option | Description |
---|---|
target | the ZIP file from ITACA REXEL-target-spectrum web-service |
spectra | ZIP file from ITACA REXEL-spectra-selection web-service |
ITACA Administrators and users with special authorizations can access data intended for internal use and/or embargoed.
curl -X POST -F "message=@path/to/token.txt" -F "target=@outputfile-target-spectrum.zip" -F "spectra=@outputfile-spectra-selection.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-run-matching/1/query?adimensional-flag=1" -o outputfile-run-matching.zip
HTTP-POST variables (required)
Option | Description |
---|---|
message | The clearsign token obtained from the generate-signed-message authentication webservice or from EIDA authentication webpage. |
target | ZIP file from ITACA REXEL-target-spectrum web-service |
spectra | ZIP file from ITACA REXEL-spectra-selection web-service |
NOTE: Windows OS could require the option '--ssl-no-revoke'
Option | Description | Default |
---|---|---|
lower-amplitude-percent | Lower tolerance (in percentage) for target spectral matching of horizontal component | 10 |
upper-amplitude-percent | Upper tolerance (in percentage) for target spectral matching of horizontal component | 30 |
lower-period | {0, 0.01, 0.025, 0.04, 0.05, 0.07, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.6, 0.7, 0.75, 0.8, 0.9, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.5, 3, 3.5, 4} Lower period (seconds) for target spectral matching. If not specified, it is assumed equal to lower-period-scoring value in REXEL-spectra-selection Web-Service | lower-period-scoring in REXEL-spectra-selection Web-Service |
upper-period | {0, 0.01, 0.025, 0.04, 0.05, 0.07, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.6, 0.7, 0.75, 0.8, 0.9, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.5, 3, 3.5, 4} Upper period (seconds) for target spectral matching. If not specified, it is assumed equal to upper-period-scoring value in REXEL-spectra-selection Web-Service | upper-period-scoring in REXEL-spectra-selection Web-Service |
lower-vertical-amplitude-percent | Lower tolerance (in percentage) for target spectra matching of vertical component | 10 |
upper-vertical-amplitude-percent | Upper tolerance (in percentage) for target spectra matching of vertical component | 30 |
lower-vertical-period | {0, 0.01, 0.025, 0.04, 0.05, 0.07, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.6, 0.7, 0.75, 0.8, 0.9, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.5, 3, 3.5, 4} Lower period (seconds) for the vertical target spectral matching | 0.15 |
upper-vertical-period | {0, 0.01, 0.025, 0.04, 0.05, 0.07, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.6, 0.7, 0.75, 0.8, 0.9, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.5, 3, 3.5, 4} Upper period (seconds) for the vertical target spectral matching | 2 |
amplitude-tolerance-percent | Additional tolerance (in percentage) applied to lower-amplitude-percent and upper-amplitude-percent | 0 |
adimensional-flag | {0,1} e.g. if adimensional-flag = 1 then the spectra are scaled, e.g. the spectral ordinates are normalized to the Peak-Ground Acceleration (PGA) value | 0 |
maximum-scale-factor | Maximum average scale-factor (if adimensional-flag = 1), e.g. average Peak-Ground Acceleration (PGA) of the spectral set divided by the PGA of the target spectrum | 5 |
pga-flag | {0,1} 1 = constrain the average Peak-Ground Acceleration (PGA) of the selected set to be higher than the PGA of the target spectrum (if adimensional-flag = 0). | 0 |
run-ID | {1,7,30} Number of spectra for each set | 7 |
three-components-flag | {0,1} e.g. if three-components-flag = 1 then three component spectral match is performed (only if run-ID = 7 and components = 2 in REXEL-spectra-selection Web-Service) | 0 |
number-of-sets | Number of desidered sets to be included in the output zip file (e.g. 1 = first combination, 2 = first and second combination, etc.) | 1 |
Backend Python software used by this web service was originally developed by Puglia R. and Sgobba S., and it is currently maintained by Felicetta C., Russo E., and Sgobba S.