ESM Processing Post Web-Service

Sample requests

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

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

    ESM Administrators and users with special authorizations can save processed data in the ESM 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', 'download-mseed', 'download-sac', 'save-to-db', 'discard'.download-hdf5
    psaveProcessing type to save in db:
    • 'ap': automatically processed using Paolucci et al., 2011
    • 'mp': manually processed using Paolucci et al., 2011
    • 'mb': anually processed using Schiappapietra et al., 2021
    mp
    pref{true,false} Set selected processing type as preferred in dbtrue
    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.