ITACA Processing Web-Service

Sample requests

The service must be queried using any program supporting the HTTP-POST method, e.g. CURL:

  • curl -X POST "https://itaca.mi.ingv.it/itaca40ws/processing-post/1/query?waveform=CU.GTBY.20.HN.EMSC-20180217_0000003.h5&action=download-ascii&tmpdir=0987654321"
  • Restricted Data (authenticated users only)

    ITACA Administrators and users with special authorizations can save processed data in the ITACA Database.
    As usual, authorized users can also access data intended for internal use and/or embargoed.

    HTTP-POST variables

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

    Query options

    Option Description Default
    waveformWaveform filename to process, e.g. 'CU.GTBY.20.HN.EMSC-20180217_0000003.h5'n/a
    actionThe Action to perform. Allowed values are: 'download-hdf5', 'download-ascii', 'save-to-db', 'bad-quality', 'set-class-a', 'set-class-b', 'set-class-c', 'set-class-d'. NOTE: Selecting the 'set-class-a' and 'set-class-b' options authorized users will implicitly set 'save-to-db' and additionaly save a quality class for the waveform in db. Similarly, 'set-class-c', 'set-class-d' imply selecting the 'bad-quality' option.n/a
    psaveProcessing type to save in db. Allowed values are: 'mp', 'ap', 'mb', 'ab'.mp
    pref{true,false} Set selected processing type as preferred in dbfalse
    tmpdirSpecify a subdirectory name to get data from. NOTES: It has to be the same specified in the previous steps of the processing workflow; only alphanumeric characters are allowed.n/a

     


    Backend Python software used by this web service was originally developed by Russo E. and Puglia R., and it is currently mantained by Russo E. and Felicetta C.