# Earthworm Modules:
Getstation Overview

(last revised 1 June, 2006)

Program getstation gets a station list from an Earthworm wave server.

>     Usage: getstation <wsv_file> <station> <component> <network> <location>
>     Where:
>            <wsv_file>  = name of a file containing a waveserver TCP/IP
>                          addresses and port number in the form:
>                          Waveserver aaa.bbb.ccc.ddd:ppppp
>            <station>   = station code,   or wild as a wildcard
>            <component> = component code, or wild as a wildcard
>            <network>   = network code,   or wild as a wildcard
>            <location>  = location code,  or wild as a wildcard

Example:

> echo Waveserver 127.0.0.1:16022 > getstation_config.txt
> getstation getstation_config.txt wild wild wild wild

Example output:

    getstation: Read in the following 1 waveserver(s):
            127.0.0.1:16022

      Found SCNL: RAFT.EHZ.CC.-- on Waveserver 127.0.0.1:16022
      Found SCNL: NP1.HHZ.ZZ.01 on Waveserver 127.0.0.1:16022
      Found SCNL: NP1.HHZ.ZZ.-- on Waveserver 127.0.0.1:16022
      Found SCNL: NP1.HHN.ZZ.01 on Waveserver 127.0.0.1:16022
      Found SCNL: NP1.HHN.ZZ.-- on Waveserver 127.0.0.1:16022
      Found SCNL: NP1.HHE.ZZ.01 on Waveserver 127.0.0.1:16022
      Found SCNL: NP1.HHE.ZZ.-- on Waveserver 127.0.0.1:16022
      Found SCNL: DCP.199.NT.-- on Waveserver 127.0.0.1:16022
      Found SCNL: DCP.198.NT.-- on Waveserver 127.0.0.1:16022
      Found SCNL: DCP.197.NT.-- on Waveserver 127.0.0.1:16022
      Found SCNL: DCP.196.NT.-- on Waveserver 127.0.0.1:16022

Module Index | Getstation Command File