Data must be obtained using any program supporting the HTTP-POST method, e.g. CURL:
curl -X POST -F "run=@outputfile-run-matching.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-outputs/1/query?action=available-combinations" -o outputfile-outputs.json
curl -X POST -F "run=@outputfile-run-matching.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-outputs/1/query?action=table&set-id=2" -o outputfile-outputs.json
curl -X POST -F "run=@outputfile-run-matching.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-outputs/1/query?action=download-ascii&set-id=2" -o outputfile-outputs.zip
HTTP-POST variables (required)
Option | Description |
---|---|
run | ZIP file from ITACA REXEL-run-matching 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 "run=@outputfile-run-matching.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-outputs/1/query?action=available-combinations" -o outputfile-outputs.json
curl -X POST -F "message=@path/to/token.txt" -F "run=@outputfile-run-matching.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-outputs/1/query?action=table&set-id=2" -o outputfile-outputs.json
curl -X POST -F "message=@path/to/token.txt" -F "run=@outputfile-run-matching.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-outputs/1/query?action=download-ascii&set-id=2" -o outputfile-outputs.zip
HTTP-POST variables (required)
Option | Description |
---|---|
message | The clearsign token obtained from the generate-signed-message authentication webservice or from EIDA authentication webpage. |
run | ZIP file from ITACA REXEL-run-matching web-service |
NOTE: Windows OS could require the option '--ssl-no-revoke'
Option | Description | Default |
---|---|---|
action | {download-ascii, download-hdf5, table, summary, available-combinations, download-all-ascii, download-all-hdf5} Output type: download-ascii = WAVEFORMS_SET_ID.zip obtained waveforms in ASCII format; download-hdf5 = WAVEFORMS_SET_ID.h5 obtained waveforms in ASDF format; table = METADATA_TABLE_SET_ID.json waveform metadata in JSON format; summary = REXEL_ELABORATION_SUMMARY.txt user options in ASCII format; available-combinations = AVAILABLE_COMBINATIONS.json IDs of the resulting combinations in JSON format; download-all-ascii = all outputs combined in a zip file, with waveforms in ASCII format; download-all-hdf5 = all outputs combined in a zip file, with waveforms in ASDF format | summary |
set-id | Combination ID (if action = download-ascii or action = download-hdf5 or action = table or action = download-all-ascii or action = download-all-hdf5). Available IDs can be checked in AVAILABLE_COMBINATIONS.json | first |
indent | {true,false} Prettifies output setting a 4 spaces indentation style. Valid only in combination with 'json' format | false |
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.