Changes between Version 2 and Version 3 of eqprelim


Ignore:
Timestamp:
05/29/12 10:39:02 (8 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • eqprelim

    v2 v3  
    3636 
    3737== Configuration File Commands == 
     38On startup, eqprelim reads the configuration file named on the command-line. Commands in this file set up all parameters used in making preliminary earthquake notifications. In the control file, lines may begin with a valid eqprelim command (listed below) or with one of 2 special characters: 
     39{{{ 
     40#  marks the line as a comment (example: # This is a comment). 
    3841 
     42@  allows control files to be nested; one control file can be 
     43   accessed from another with the command "@" followed by 
     44   a string representing the path name of the next control file 
     45   (example: @model.d). 
     46}}} 
     47 
     48Command names must be typed in the control file exactly as shown in this document (upper/lower case matters!). 
     49 
     50=== EXAMPLE CONFIGURATION FILE === 
     51{{{ 
     52 # 
     53# This is eqprelim's parameter file 
     54 
     55#  Basic Earthworm setup: 
     56# 
     57MyModuleId   MOD_EQPRELIM  # module id for this instance of eqprelim 
     58RingName     PICK_RING     # ring to get input from 
     59LogFile      1             # 0 to completely turn off disk log file 
     60HeartbeatInt 30            # Seconds between heartbeats 
     61 
     62# List the message logos to grab from transport ring 
     63#              Installation       Module          Message Types 
     64GetPicksFrom   INST_WILDCARD    MOD_WILDCARD    # pick2k & coda2k 
     65GetAssocFrom   INST_MENLO       MOD_BINDER      # quake & link 
     66 
     67LocalCode      W         # single char to identify local picks with 
     68ReportS        0         # if 0, do not send S-phases to next process 
     69NumPickNotify  25        # send preliminary event when it has this 
     70                         # many picks associated with it 
     71 
     72# Send output to the following command: 
     73# PipeTo "eqbuf eqbuf.d" 
     74# PipeTo "eqcoda eqcoda.d" 
     75PipeTo "log_everything" 
     76 
     77# Load station list 
     78# 
     79maxsite 1800 
     80site_file "calsta.hinv" 
     81 
     82# Load Central California crustal model 
     83# 
     84@ncal_model.d# Load the central California crustal model 
     85}}} 
     86 
     87=== FUNCTIONAL COMMAND LISTING === 
     88 
     89Below are the commands recognized by eqprelim, grouped by the function they influence. Some of the commands are marked "required"; they describe the Earthworm system setup and the network model. These commands must be specified in the control file in order for eqprelim to operate. 
     90{{{ 
     91        Earthworm system setup: 
     92                GetAssocFrom    required 
     93                GetPicksFrom    required 
     94                MyModuleId      required 
     95                PipeTo          required 
     96                RingName        required 
     97 
     98        Seismic network/model definition: 
     99                lay             required 
     100                psratio 
     101                site            \  site list required; specify with 
     102                site_file       /  either "site" or "site_file" 
     103                maxsite 
     104 
     105        Event notification: 
     106                NumPickNotify   required 
     107                LocalCode       required 
     108                ReportS         required 
     109 
     110        Output Control: 
     111                LogFile         required 
     112}}} 
    39113== Helpful Hints ==