source: trunk/src/seismic_processing/gmew/gmew.d @ 7593

Revision 7593, 10.2 KB checked in by paulf, 11 months ago (diff)

added ChannelNumberMap? to gmew to map numbers to components....before this 2 and 3 were default mapped to N and E respectively

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# Configuration file for gmew
2#
3# Required Commands:
4# The following five commands are always required by gmew.
5# Other commands below may be required when certain options are given.
6#
7# Earthworm Transport commands
8# RingInName <ring>: specify the name of the earthworm transport ring from
9#  which to read TYPE_HYP2000ARC messages for event notification.
10
11RingInName HYPO_RING
12
13# RingOutName <ring>: specify the name of the earthworm transport ring from
14#  which to write Magnitude, Heartbeat and Error messages. This may be
15#  the same is the RingInName if desired.
16
17RingOutName HYPO_RING
18
19# MyModId <module-id>: specify the module ID for gmew
20 MyModId MOD_GMEW
21
22# HeartBeatInterval int: How often gmew should beat its heart.
23
24HeartBeatInterval 30
25
26# getEventsFrom  INST_ID MOD_ID
27# Specify the installation ID and module ID names from which to get
28# hypoinverse archive messages to read event data. These names may be
29# selected from earthworm.d and earthworm_global.d. No default values.
30# Use as many of these commands as necessary.
31
32getEventsFrom INST_WILDCARD MOD_WILDCARD
33
34
35# maxSta number
36# The number of stations to be used by gmew must be specified with
37# the maxSta command. This is the number of unique SNs to be used; each
38# SN combination can have any number of components. The maxSta command
39# must come before any "Pri" commands.
40
41maxSta 100
42
43# maxDist km
44# The maximum epicenter - station distance in kilometers.
45# Stations lying outside this radius will not be used by gmew.
46#
47maxDist 600
48
49
50# maxTrace nsamples
51# The maximum number of trace data samples to process from one SCN.
52# This is the product of the trace length in seconds and the highest
53# expected sample rate. For example, 10 minutes of data at 100 samples per
54# second gives 60000 samples.
55
56maxTrace 60000
57
58
59# staLoc: station location source
60#    Choices: File <loc-file> - get station locations from a hyp2000-format
61#                               file named loc-file
62#             EWDB - query the EW database for station locations; access info
63#                    given below.
64
65staLoc File /earthworm/run/params/hypoinverse/stas/uw_sta.hinv
66
67
68# Regional Velocity model: must be specified as "@vel_model_file". Typically
69#    this will be the same file as used for binder_ew.
70
71@uw_velocity.d
72
73
74# traceSource: Where localmag will obtain trace data
75#    choices are: waveServer <server-list> - raw traces from wave_servers;
76#                              server-list is either a space separated list
77#                              of ip-address:port or
78#                           "File <server-file>"
79#    default: waveServer with list of servers read from $EW_PARAMS/servers
80
81traceSource waveServer 123.45.67.89:16021 123.45.67.89:16022
82
83# wsTimeout: wave_server timeout in milliseconds
84#    default: 5000 milliseconds
85
86# wsTimeout 10000
87
88# the number of seconds to wait before hitting the waveServer to get waveforms,
89# useful in RT mode
90extraDelay 30
91
92# Add STA COMP NET
93# Del STA COMP NET
94# SCN selection is done by a selection list and a rejection list.
95# The station selection command 'Add' specifies the names of
96# STA (station), COMP (component), and NET (network).
97# The wildcard '*' may be used for any or all of STA, COMP, NET.
98# COMP may be given as the first two letters of the component name,
99# to select all direction desgnators are accepted for that component.
100# If no Add commands are given, all SCNs will be selected.
101# The Del command is used to put SCNs on the rejection list:
102# for example: "Add * EL UW" followed by "Del LAB EL UW" to include
103# all ELE and ELN components from UW except LAB.ELE.UW and LAB.ELN.UW.
104# List as many Add and Del commands as desired, one to a line
105
106Add * BH *
107Add * HH *
108Add * SL *
109Add * EL *
110Del LAB * UW
111
112# optional: a way to map horizontal numbers to ZNE, default is 23 mapping to NE, but some networks
113# use 12 to map to NE so you would write that as:
114# where N and E are in positions 1 and 2...
115# ChannelNumberMap NEZ
116
117
118# respSource: Tells gmew where to get response information;
119#   may be ommitted if traceSource points to Wood-Anderson
120#    Choices: EWDB - query the EW databse for pole-zero-gain responses.
121#             SAC <pz-filename-format> - find response files in the
122#                            SAC directory given with SACsource.
123#                            filename-format is a string similar to printf
124#                            format: %S, %C, %N are replaced by station,
125#                            component and network names, respectively,
126#                            all in upper case. Similarly %s, %c, %n work
127#                            for lower-case station, component and network.
128#                            The digraph %% stands for %; all other
129#                            characters are taken literally.
130#                            The response file format is that used by SAC.
131#             File <dirname> <pz-filename-format> - find response files in
132#                            directory dirname with file names given by
133#                            pz-filename-format, as above. dirname can be
134#                            a full directory name, or relative to $EW_PARAMS.
135#
136#    default: none; you must specify one of the above choices.
137
138respSource File responses %S_%C_%N.pz
139
140# ResponseInMeters - an optional flag to convert SAC P&Z from meters into what is required
141#                       units of nanometers. Allows use of rdseed -pf  files directly.
142
143
144# traceTimes start end
145# The start and end times for traces is set here.
146#   <start> is the number of seconds before estimated P arrival to start
147#           the trace.
148#   <end> is the number of seconds after estimated S arrival to end the trace.
149#   default: traceTimes 5.0 60.0 # starts trace 5 seconds before estimated P
150#           arrival and ends trace 60 seconds after estimated S arrival.
151
152traceTimes 5.0 60.0
153
154
155# searchWindow A B C D
156# The time window for searching for peak amplitudes is set here.
157#    <A> is the multiple of the estimated interval P - S to start the
158#        search before estimated S arrival.
159#    <B> is the minimum number of seconds before estimated S arrival to
160#        start the peak search.
161#    <C> is the multiple of the estimated interval P - S to end the
162#        search after the estimated S arrival.
163#    <D> is the minimum number of seconds after estimated S arrival to
164#        start the peak search.
165# default: searchWindow 0.0 2.0 0.0 30.0 # Search window runs from 2 seconds
166#        before to 30 seconds after the estimated S arrival, independent of
167#        the P - S interval.
168
169searchWindow 0.0 2.0 0.0 30.0
170
171# snrThresh T
172# Minimum accepted signal-to-noise threshold....traces are rejected unless
173# this threshold is passed.
174# The noise level is determined by averaging values before the estimated
175# P phase arrival time.  Signal level from the average value during the
176# search window (described above).
177# Default: 3.0
178
179snrThresh 3.0
180
181
182#saveTrace: whether and how to save synthetic ground-motion traces
183#            If saveTrace command is absent, no traces will be saved.
184#   Choices: SAC <baseDir> <dirFormat> <filename-format> -
185#                  save gm traces in SAC-format files.
186#                baseDir specifies a fixed directory name.
187#                dirFormat gives a formattted subdirectory name; the
188#                  format string is that used for the "date" command applied
189#                  to the event origin time, with the addition of '%i'
190#                  to indicate the event ID. Be careful with this; some
191#                  formats produce output not compatible with file names.
192#                filename-format gives the formatted file name using
193#                  % to introduce one of the format specifiers "sScCnN%"
194#                  's' is the station name in lower case; 'S' is upper case
195#                  Likewise for component and network names; '%' stands for
196#                  itself. All other characters are taken literally.
197#
198#   default: None (no traces are saved.)
199
200
201# XMLDir dirname
202# Optional command to cause ground-motion results to be written to
203#   a ShakeMap XML file. This directory must already exist.
204XMLDir Shake/input
205
206# TempDir dirname
207# Temporary directory for writing XML file. If XMLDir is given, TempDir must
208#   also be given. On Solaris (Unix), these two directories should be on
209#   the same filesystem. This will ensure that the XML file will be complete
210#   as soon as it is moved into XMLDir. This directory must already exist.
211TempDir Shake/temp
212
213# MappingFile filename
214# To provide descriptive names in the shakemap XML file, a mapping file
215#   may optionally be given. This file contain mappings of SCN to instrument
216#   type, SN to long station names, and N to agency names.
217MappingFile   PNSN.map             
218                                   
219
220# Debug N
221# There are several different debug features, listed below.
222# You can give one Debug command for each feature you want to turn on,
223# or you can add together the values of desired features and give
224# one Debug command.
225# value   feature
226#     1   trace and search times and P and S arrival estimates
227#     2   SCN selection tests
228#    16   ws_client debugging
229#    32   poles. zeros and gain values
230#    64   trial frequency response functions to STDOUT
231#   128   full frequency response function to STDOUT
232
233
234# SCN Parameters: normally this command will be given as "@scn_param_file"
235# to cause the separate file "scn_param_file" to be processed.
236
237# Optional parameter to use with eqassemble which declares the version
238# of an event such as Prelim, Rapid and Final. Possible values for the
239# parameter LookAtVersion are: All, Prelim, Rapid and Final.
240# Default is All.
241# LookAtVersion All
242
243
244## OPTIONAL PARAMETER
245## sendActivate: When present this parameter sends an activated_scripts
246# message with the eventID as the first argument and written XML file as the
247# second argument. This is convenient when you want to run a script (such as
248# the ShakeMap suite) after the XML is created. This is optional.
249#
250#sendActivate
251
252## OPTIONAL PARAMETER
253# this is the logo to use for the sendActivate message,
254# if it is not set, then the logo is the name of the gmew module
255#
256# sendActivateLogo MOD_ACTIVATED_SCRIPTS
257
258## OPTIONAL PARAMETER
259## PreTriggerSeconds: Used to compute start time, P and S for Triggered events;
260# defaults to 10
261#
262# PreTriggerSeconds   30
263
Note: See TracBrowser for help on using the repository browser.