Changes between Version 1 and Version 2 of ew2rsam


Ignore:
Timestamp:
09/24/13 12:43:46 (7 years ago)
Author:
paulf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ew2rsam

    v1 v2  
    22 
    33= [wiki:Earthworm Earthworm] Module: ew2rsam = 
    4 '''Contributed by: ''' 
     4'''Contributed by: ???''' 
    55 
    66== Function == 
    7  
     7Compute RSAM values for specified SCNL's and periods. In Earthworm 7.7 ew2rsam was optionally outputting SCNL with location code holding the period designator. Note that it also could read in SCNL (tracebuf2's), but the program does not translate. That is, it should be used with all SCN data for input and output, or all SCNL for input and output. See the example .d file below. 
    88 
    99== Details == 
    1010 
     11Example .d file: 
     12 
     13{{{ 
     14# 
     15#                     Configuration File for ew2rsam 
     16# 
     17MyModId        MOD_EW2RSAM 
     18InRing           WAVE_RING       # Transport ring to find waveform data on, 
     19OutRing          TEST_RING       # Transport ring to write output to, 
     20HeartBeatInterval     15         # Heartbeat interval, in seconds, 
     21LogFile            1             # 1 -> Keep log, 0 -> no log file 
     22#QueueSize         1000          # Size of message queue; default is 500 messages 
     23#Debug                     0                     # OPTIONAL,  0-no debug 
     24                                 #            1-basic debug 
     25                                 #            2-super debug 
     26 
     27# ReadTRACEBUF2         # Uncomment to read TRACEBUF2 messages 
     28# WriteTRACEBUF2        # Uncomment to write TRACEBUF2 messages 
     29                    # When writing TRACEBUF2 messages, the period indicator  
     30                    # is put in the Location field 
     31 
     32# 
     33# Specify logos of the messages to grab from the InRing. 
     34# TYPE_TRACEBUF is assumed, therefore only module ID and  
     35# installation ID need to be specified 
     36# 
     37GetWavesFrom    INST_WILDCARD MOD_WILDCARD  # TYPE_TRACEBUF (assumed) 
     38 
     39# 
     40# SCN Selection  
     41# 
     42#  Use the following two configuration options to narrow down 
     43#  the SCNs of the wave messages of interest (wildcard '*'  
     44#  characters are allowed for both options): 
     45# 
     46#   o IncludeSCN (required) 
     47#   o ExcludeSCN (optional) 
     48# 
     49# 
     50#  SCN which matches a line in the IncludeSCN section will be  
     51#  included, unless it also matches a line in the ExcludeSCN section 
     52# 
     53#  Examples: 
     54# 
     55#   1. Pick up only these SCNs 
     56# 
     57#       IncludeSCN HJG VHZ NC 
     58#       IncludeSCN HJS VHZ NC 
     59#       IncludeSCN KGM VHZ NC 
     60# 
     61#   2. Pick up all SCNs except for KGM VHZ NC 
     62# 
     63#       IncludeSCN * * *  
     64#       ExcludeSCN KGM VHZ NC 
     65# 
     66#   3. Pick up all SCNs except those with network code NC 
     67# 
     68#       IncludeSCN * * *  
     69#       ExcludeSCN * * NC 
     70 
     71IncludeSCN * * * 
     72 
     73# 
     74# MaxSCN - max number of SCNs to track 
     75# 
     76MaxSCN          50 
     77 
     78# 
     79# RsamPeriod - time period, in seconds, for RSAM computation  
     80# 
     81RsamPeriod      2.56 
     82RsamPeriod      60 
     83RsamPeriod      600 
     84}}} 
     85 
    1186 
    1287== Helpful Hints ==