Changes between Initial Version and Version 1 of scream2ew


Ignore:
Timestamp:
03/19/12 18:17:54 (9 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • scream2ew

    v1 v1  
     1[[PageOutline]] 
     2 
     3= [wiki:Earthworm Earthworm] Module: scream2ew = 
     4'''Contributed by: ''' 
     5 
     6== Function == 
     7Scream2ew converts data from Guralp SCREAM server to trace_buf earthworm messages and puts them into an earthworm ring. 
     8 
     9== Details == 
     10Scream2ew is provided by Guralp Systems Limited and Digital Technology Associates, Inc. The module was originally written by Kent Lindquist and Murray McGowan, with minor modifications by Mitch Withers and Lucky Vidmar. Source code has been provided. It was later modified by James McKenzie and Laurence Withers of Guralp Systems Limited. 
     11 
     12Scream2ew converts data from a Guralp SCREAM server (from which it may actively request packets over TCP or passively receive UDP broadcasts) into trace2_buf earthworm messages and puts them into an earthworm ring. 
     13 
     14=== Example Configuration File === 
     15{{{ 
     16# 
     17# This is scream2ew's parameter file 
     18# 
     19# Please check that line endings are set appropriately for your 
     20# platform. Comments begin with a '#'. 
     21# 
     22 
     23 
     24 
     25# 
     26#  Basic Earthworm setup 
     27# 
     28 
     29# module id for this instance of scream2ew 
     30MyModuleId         MOD_SCREAM2EW 
     31 
     32# shared memory ring for input/output 
     33RingName           WAVE_RING 
     34 
     35# 0 = log to screen only 
     36# 1 = log to screen and logfile 
     37# 2 = log to logfile only 
     38LogFile            1 
     39 
     40# 1 = log every packet 
     41# 0 = don't 
     42Verbose            1 
     43 
     44# seconds between heartbeats 
     45HeartBeatInterval  30 
     46 
     47 
     48 
     49# 
     50# Scream server setup 
     51# 
     52 
     53# If the Server option is given, the scream2ew program will contact a 
     54# Scream server via TCP on the specified host, and request its data from 
     55# there. If it is not given, the scream2ew program will instead simply 
     56# listen for UDP broadcast packets. 
     57Server 192.168.0.1 
     58 
     59# In TCP mode, this is the TCP port on which the scream server is 
     60# running. In UDP mode, it is the local port on which we will listen for 
     61# broadcast packets. 
     62PortNumber         1567 
     63 
     64 
     65 
     66# 
     67# Scream to Earthworm mapping 
     68# 
     69 
     70# These lines specify the mapping between the GCF system ID and stream 
     71# ID and the earthworm network, station, location, channel and pin 
     72# number. 
     73# 
     74# For example: 
     75#  ChanInfo "D850 EKA12 AB CDE 00 BHZ 1" 
     76# 
     77# This line would map Scream packets with: 
     78#  GCF system ID: D850                   [max 6 chars] 
     79#  GCF stream ID: EKA12                  [max 6 chars] 
     80# 
     81# To: 
     82#  Network:       AB                     [max 8 chars] 
     83#  Station:       CDE                    [max 6 chars] 
     84#  Location:      00                     [exactly 2 chars] 
     85#  Channel:       BHZ                    [max 3 chars] 
     86#  Pin number:    1 
     87# 
     88# If you do not wish to specify any location, use the sequence '--'. 
     89# 
     90ChanInfo "D850 EKA12 AB CDE 00 BHZ 1" 
     91ChanInfo "D850 EKA13 AB CDE 01 BHZ 2" 
     92}}} 
     93 
     94== Helpful Hints ==