Changes between Initial Version and Version 1 of geqproc

03/25/12 13:21:00 (10 years ago)



  • geqproc

    v1 v1  
     3= [wiki:Earthworm Earthworm] Module: geqproc = 
     4'''Contributed by: ''' 
     6== Function == 
     7Clone of [wiki:eqproc eqproc] designed to work with glass. (new in EW v7.0) 
     9== Details == 
     10geqproc was cloned from [wiki:eqproc eqproc] with a few imortant differences. First, geqproc listens for messages of type TYPE_LOC_GLOBAL (this is hard-wired). Glass, for example, produces this message type. It converts these messages to TYPE_HYP2000ARC and passes them on down the "sausage." Second, the message gathering, assembly and "final" declaration are NOT done by geqproc since this functionality has been built into glass. Rather, the TYPE_LOC_GLOBAL messages are simply queued and then passed on. If running binder_ew, eqproc should be used not geqproc. 
     12geqproc is the first process in the earthquake-processing mega-module (sometimes referred to as "the sausage") that produces final earthquake locations for the Earthworm system. Only geqproc, the first link in the mega-module, is listed in startstop's configuration file to be started by startstop. geqproc then starts the next process, specified in its "PipeTo" command, and communicates with it via a one-directional pipe. Each newly created sub-module starts the next link in the same way. From startstop's point of view, the whole mega-module inherits the name of the first link (geqproc) and that's the only name it displays. From statmgr's point of view, all processes within the mega-module share one module id, one heartbeat, and one descriptor file. However, each sub-module has its own configuration file and its own log file. 
     14=== Example Configuration File === 
     16# Configuration file for geqproc 
     18# Alternate head of mega-module not unlike eqproc or eqprelim. 
     19# We pick up TYPE_LOC_GLOBAL from the input ring (as output by global_proc), 
     20# convert to TYPE_HYP2000ARC, and then pass along the pipe.  There 
     21# is no throttle or waiting to make sure this is the "final" version 
     22# as that task is assumed to be performed elsewhere such as in global_proc. 
     24# Note also that we throw out any arrivals not suitable for Hypo (e.g. depth 
     25# phases).  This is dangerous and could result in a solution considerably 
     26# less accurate than the original.  It is concommitant upon the user to 
     27# assure that geqproc is attached to a ring that only has global loc 
     28# messages for areas with dense station coverage for which picks are 
     29# included in the incoming message.  eqfilterII may be used for this task. 
     31LogFile 1     # 0 means don't create a disc log file. 1=> do. 
     32              # 2 means write to module log but not to stderr/stdout 
     33MyModuleId MOD_GEQPROC 
     34InRing     GLOBAL_RING 
     35OutRing    HYPO_RING 
     36HeartBeatInt 30 
     37PipeTo "eqbuf eqbuf.d" 
     40# Optional Debug switch - if this is uncommented 
     41# lots of debug messages will be produced 
     45# What message logos to listen to. Can be more than one, but no more 
     46# than five. 
     47# The type is one of TYPE_LOC_GLOBAL, no choice 
     52== Helpful Hints ==