Data must be obtained using any program supporting the HTTP-POST method, e.g. CURL:
curl -X POST -F "infile=@metadata-table.json" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?" -o outputfile-plot.png
curl -X POST -F "infile=@metadata-table.json" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?legend=True" -o outputfile-plot.png
curl -X POST -F "infile=@metadata-table.json" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?legend=True&3cmp-vertical=True" -o outputfile-plot.png
curl -X POST -F "infile=@outputfile-spectra-selection.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?format=zip" -o outputfile-plot.zip
curl -X POST -F "infile=@outputfile-spectra-selection.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?" -o outputfile-plot.png
HTTP-POST variables (required)
Option | Description |
---|---|
infile | ZIP file from ITACA REXEL-target-spectrum or ITACA REXEL-spectra-selection web-services, or JSON metadata-table from ITACA REXEL-outputs 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 "infile=@metadata-table.json" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?" -o outputfile-plot.png
curl -X POST -F "message=@path/to/token.txt" -F "infile=@metadata-table.json" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?legend=True" -o outputfile-plot.png
curl -X POST -F "message=@path/to/token.txt" -F "infile=@metadata-table.json" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?legend=True&3cmp-vertical=True" -o outputfile-plot.png
curl -X POST -F "message=@path/to/token.txt" -F "infile=@outputfile-spectra-selection.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?format=zip" -o outputfile-plot.zip
curl -X POST -F "message=@path/to/token.txt" -F "infile=@outputfile-spectra-selection.zip" "https://itaca.mi.ingv.it/itaca40ws/rexel-plot/1/query?" -o outputfile-plot.png
HTTP-POST variables (required)
Option | Description |
---|---|
message | The clearsign token obtained from the generate-signed-message authentication webservice or from EIDA authentication webpage. |
infile | ZIP file from ITACA REXEL-target-spectrum or ITACA REXEL-spectra-selection web-services, or JSON metadata-table from ITACA REXEL-outputs web-service. |
NOTE: Windows OS could require the option '--ssl-no-revoke'
Option | Description | Default |
---|---|---|
legend | {'True','False'} Legend of the plot: it has effect only when the 'infile' argument is the JSON metadata-table from REXEL-outputs Web-Service | False |
adimensional | {'True','False'} Non-dimensional plot: it has effect only when the 'infile' argument is the JSON metadata-table from REXEL-outputs Web-Service | False |
3cmp-vertical | {'True','False'} Plot for vertical components: it has effect only when the 'infile' argument is a three-components JSON metadata-table from REXEL-outputs Web-Service, hence the matching analysis has to be performed over the three-components, setting argument of option three-components-flag = 1 in REXEL-run-matching Web-Service | False |
y-step | Upper limit of y-axis is set as a multiple of this value. | 200 |
output-format | {PNG,base64,zip} Output format. 'zip' format generates a zip file containing two plots and it can be used only if 'infile' is the zip file of ITACA REXEL-spectra-selection web-service. | PNG |
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.