Synopsis
datalinkclient [-vV] [--help] [-h=<host>] [-m=<match>] [--max=<maxRecords>] [-o=<outputFile>] [-p=<port>] [--timeout=<timeoutSec>]
Description
Datalinkclient is an example client that can connect to a datalink service and stream miniseed to a file. View source code here.
The datalink protocol is specified here:
Options
- -h, --host=<host>
-
host to connect to, defaults to IRIS, rtserve.earthscope.org
- --help
-
display a help message
- -m, --match=<match>
-
match pattern, as a regular expression. For miniseed the conventions is NN_SSS_LL_CCC/MSEED
- --max=<maxRecords>
-
number of packets to receive before ending the connection, defaults to 10
- -o, --out=<outputFile>
-
Output file (default: print to console)
- -p, --port=<port>
-
port to connect to, defaults to IRIS, 18000
- --timeout=<timeoutSec>
-
timeout seconds, defaults to 120
- -v, --verbose
-
Verbose
- -V, --version
-
Print version and exit
Examples
Ask for a few packets of HH. data from station CO.BIRD, and output to a file.
Unresolved directive in seisfile-datalinkclient.adoc - include::src/doc/man-templates/example_output/datalinkclient_ex1_out[]