source: trunk/params/ewhtmlemail.d @ 7968

Revision 7968, 8.4 KB checked in by paulf, 2 months ago (diff)

updated common params dir with latest .d .desc from source

  • Property svn:executable set to *
Line 
1# ewhtmlemail configuration file
2
3
4# Earthworm stuff
5 MyModuleId     MOD_EWHTMLEMAIL          # Module ID
6 InRing         HYPO_RING
7 HeartbeatInt   30                   # Heartbeat interval in seconds
8 LogFile        1                    # If 0. don't write logfile; if 1. do
9                                     # if 2. write module log but not stderr/stdout
10 Debug          0
11 DebugEmail     0               # echo the email command used if set to 1
12
13# Get messages from
14 GetLogo  INST_WILDCARD  MOD_WILDCARD # TYPE_HYP2000ARC
15
16#DataCenter         between quotes (optional and is used in the table header)
17# DataCenter  "My data Center"
18
19
20#CenterPoint 45.0 -121.0  # OPTIONAL lat and lon for EmailRecipientWithMinMagAndDist
21
22# ShortHeader - OPTIONAL flag to compress the header table and leave less whitespace
23#
24
25#
26# DontShowMd - Optional feature to remove Md from the report.
27#
28# DontUseMd - Optional feature to not use Md  for email decisions for any EmailRecipientWithMinMag args
29#
30# UseML - OPTIONAL feature to turn on TYPE_MAGNITUDE (localmag) use
31# UseMW - OPTIONAL feature to turn on TYPE_MAGNITUDE and detect MW  magnitude messages
32#
33# MagWaitSeconds - OPTIONAL wait this long before releasing an
34#                  email that may not have an ML or MW, default 5 seconds
35# DontShowMLtable - OPTIONAL flag, removes the ML station channel mags table from the end of the email
36 
37# Note that hyp2000arc messages can be very large if the number of stations
38# is high.
39 MaxMessageSize   16384
40
41# site_file - MANDATORY station file. This corresponds to the station file in
42#             hypoinverse-compatible format, as used by hyp2000. It is used to
43#             know which waveforms are to be search from the waveservers and
44#             also to plot the stations in the static google map.
45 site_file    memphis2.hinv
46                         
47
48# Google Earth Key file, obtain from google, now required
49#
50GoogleEarthKey your_key_here
51
52# google earth secret assigned to your key, for signing the map-request part of the URL for static maps only:
53#GoogleEarthSecret your_secret_here
54
55# HTMLFile - MANDATORY base name for the html file of this event. The actual 
56#            filename will be <HTMLFile>_<event id>.html
57#            This configuration allows creating a folder with html files for the
58#            detected seismic events.
59 HTMLFile        temp/emailfile
60
61#SPfilter   
62SPfilter
63
64
65# a new option is to produce GMT data
66#GMTmap   
67
68
69# the next four (4) settings govern what GMT format to use
70#Two map projections for GMT map: Mercator or Albers. Note: Mercator is the default projection
71#Mercator       
72#Albers
73
74#Cities         used when GMTmap is enable
75#Cities /home/earthworm/run/params/cities.txt
76
77#StationNames  used when GMTmap is enable
78#StationNames
79
80#MapLegend     Used when GMTmap is enable
81#MapLegend /home/earthworm/run/params/ewhtmlemail.legend
82 
83
84
85# KML - output (option)
86#   SYNTAX for KML OPTION:
87#       KML dir preamble_file
88# dir is where kml file is written
89# preamble_file is where kml preamblefile is read in from, must be the one from the src distro
90
91 
92# EmailProgram - Optional email program. It is imperative that the email program
93#                is capable of handling html email. ewhtmlemail has been created
94#                specifically for sendmail. If this option is commented out, the
95#                module assumes that emails are not to be sent and will not
96#                include the mime header in the html file. In this sense, this
97#                module becomes an event-to-html converter.
98 EmailProgram    /usr/sbin/sendmail
99
100# UseBlat - Optional to say that the EmailProgram is blat type, which takes
101#      syntax "blat.exe file -to recipient"
102#   make sure EmailProgram has the absolute path to blat.exe if it is not
103#   in your path, but set the EmailProgram entry regardless
104
105# BlatOptions "-server localhost:1099 -profile gmailsmtp"  - Optional if you need to use stunnel or something for gmail smtp
106#           Note this is not even used if you do not have UseBlat configured in the .d file
107
108#UseUTC - Optional to set the time at UTC in the html email messages (localtime zone of PC is default)
109 
110# SubjectPrefix - Optional to set the prefix of the subject to customize the email. Defaults to EWalert if this is not set.
111
112# ShowDetailedSubject - Optional flag (just needs to be set) and ML and Flynn Enghdal region will
113#                        be put into the email Subject line.
114
115# ShowDetail - Optional to show a lot more event information in detail, errh, errz, gap, rms etc....
116
117 ##########################
118 # Region Filter Settings #
119 ##########################
120
121#
122# Define regions:
123#  Associates a region name with a polygon (max 20 sides); name cannot begin with a ~
124#
125# The points of a polygon should be listed as if lines of the polygon
126# were being drawn without lifting up the pencil, until the polygon
127# is closed. Therefore, the first and the last point should be
128# the same, and each two the points in between should be the ends
129# of one side of the polygon.
130#
131# EVERY REGION MUST BE DEFINED BEFORE IT IS USED
132
133#
134#Keyword      Name     NumSides    Lat, Lon  Lat, Lon  ...
135#
136
137DefineRegion   AVO_REGION       5    62.50 -148.00   60.00 -150.00   57.50 -157.00   58.75 -157.00   62.50 -152.50   62.50 -148.00
138
139# List of email recipients
140 EmailRecipient test@mail.com
141
142 EmailRecipientWithMinMag test2@mail.com 2.0   # only send to this person if mag is >= 2.0
143
144 EmailRecipientWithMinMagAndDist test3@mail.com 2.0 3.0  # only send to this person if mag is >= 2.0 and dist from event <=3km
145
146 EmailRecipientWithinRegion test@mail.com AVO_REGION # only send to this address if event is in at least one region
147
148 EmailRecipientWithinRegionMag test@mail.com AVO_REGION html 3.0 # only send if Mag > 3 and in region
149 
150# Note: For EmailRecipientWithinRegion, if you include "csv" (no quotes) in the list of regions, a much smaller text message in
151# comma-separated value for will be sent instead.  You can also include "html" to explicitly specify you want the original, full
152# version of the message; it is an error to include both.
153
154# StaticMapType - optional, can be the maptype for the google static map.
155#               could be: terrain, satellite, or roadmap
156#               Default: hybrid (satellite+roads)
157
158# DontShowStationsOnMap - optional, just a flag to not show the stations on the google map,
159#                               turning this flag on, just shows the epicenter on the map
160 
161 
162# StyleFile - Optional style file for the generated html file. Some items have
163#             specific ids and classes that allows some customization through a
164#             css file. Please consult the example ewhtmlemail.css file for the
165#             ids and class names.
166 StyleFile       ewhtmlemail.css
167
168
169
170
171 #######################
172 # Waveserver Settings # - needed to show traces using Google Static charts
173 #######################
174 #
175 #DontShowTraces - OPTIONAL flag to not bother with showing traces in the HTML file
176 #
177 MAX_SAMPLES   100000    # Maximum number of samples to extract from any given
178                         #    station of the waveserver.
179                         #    Default: 60000
180
181 WSTimeout          5    # Waveserver timeout in seconds
182
183# List of waveservers aaa.bbb.ccc.ddd:portno
184 WaveServer 192.168.0.1:16022
185 WaveServer 192.168.0.2:16022
186 
187 
188 # TimeMargin - Optional parameter to set the time margin for downloading
189 #              waveforms from the waveservers in seconds.
190 #              Default: 10.0
191 TimeMargin     10.0
192 
193 # optional flag - set this flag to use earliest phase for start of trace, not Origin Time
194 UseEarliestPhaseTime
195 
196
197 # MaxDuration - is the maximum duration of the trace from origin_time - TimeMargin to endtime+ TimeMargin
198 # if trace is longer than this in length, then endtime is set to  origin_time - TimeMargin + MaxDuration
199 MaxDuration    60.0   # defaults to 144 seconds, new feature
200
201
202 #UseGIF                                # Not yet functional
203 #TraceWidth   1200             # Sets width of traces (Default 600)
204 #TraceHeight   200             # Sets height of traces (Default 60)
205 # Note that changing width or height is limited to 300 000 points for google charts
206 # In addition, the css file should be changed accordingly to avoid resizing
207 
208                         
209
210# set one letter below: Note quality from hypoinverse is A,B,C,D where A is best, like in grade school!
211# MinQuality D          # optional configuration that sets the letter of the minimum hypo quality to send emails
212                        # this filter is ONLY for email sending. All .html and .kml (if selected) will be created
213                         
214
215# UseRegionName                 # OPTION: use flynn-enghdal region names in the table at the top of the email
Note: See TracBrowser for help on using the repository browser.