Data can be obtained using any program supporting the HTTP-GET method, e.g. your favourite web browser:
ESM Administrators and users with special authorizations can access data intended for internal use and/or embargoed.
Data can be obtained using any program supporting the HTTP-POST method, e.g. CURL:
curl -X POST -F "message=@path/to/token.txt" "https://esmdev.mi.ingv.it/esmws/waveform-details/1/query?eventid=IT-2012-0011&network=TV&station=MIR01&location=&instrument=HN&processing=MP&ptarget=mp©=True&tmpdir=ab34cd78ef90"
HTTP-POST variables (required)
Option | Description |
---|---|
message | The clearsign token obtained from the generate-signed-message authentication webservice. |
Option | Description | Default |
---|---|---|
eventid | Select a specific event ID. | n/a |
network | Select one network code. | n/a |
station | Select one SEED station code. | n/a |
location | Select one SEED location identifier. | n/a |
instrument | Select one SEED instrument code. | n/a |
psoft | Processing software to run. Available versions are 'old' and 'new' | old |
processing | Specify processing type for data selection; available types are: 'CV' (data converted to cm/s^2), 'MP' (manually processed using Paolucci et al., 2011) and 'AP' (automatically processed using Paolucci et al., 2011), 'AB' (automatically processed using Schiappapietra et al., 2021), and 'MB' (manually processed using Schiappapietra et al., 2021). NOTE: 'AB' and 'MB' can be used only with 'psoft=new'. | n/a |
ptarget | Specify processing action to perform; available types are: 'mp' (manually processed using Paolucci et al., 2011), 'ap' (automatically processed using Paolucci et al., 2011), 'ab' (automatically processed using Schiappapietra et al., 2021), and 'mb' (manually processed using Schiappapietra et al., 2021). NOTE: 'ab' and 'mb' can be used only with 'psoft=new'. | mp |
copy | {true,false} Keep a copy of the waveform file and associated auxiliary files in the user's working directory on the server. NOTE: setting 'copy=true' should be used for processing the data afterwards, hence can only be used in combination with 'group=all' in order to have a complete json output. | false |
tmpdir | Specify a subdirectory name to copy data to (valid only in combination with 'copy=True'). NOTE: Only alphanumeric characters are allowed. | n/a |
group | Select a specific thematic group of information. Available groups are: 'ifile', 'quality', 'workflow', 'settings', 'all' | all |
format | Specify format of result, currently only 'json' is supported. | json |
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 is developed and maintained by Russo E. and Felicetta C.