source: trunk/params/ewhtmlemail.d @ 6401

Revision 6401, 6.3 KB checked in by stefan, 4 years ago (diff)

updated 7.8 params

  • 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 
36# Note that hyp2000arc messages can be very large if the number of stations
37# is high.
38 MaxMessageSize   16384
39
40# site_file - MANDATORY station file. This corresponds to the station file in
41#             hypoinverse-compatible format, as used by hyp2000. It is used to
42#             know which waveforms are to be search from the waveservers and
43#             also to plot the stations in the static google map.
44 site_file    memphis2.hinv
45                         
46
47
48# HTMLFile - MANDATORY base name for the html file of this event. The actual 
49#            filename will be <HTMLFile>_<event id>.html
50#            This configuration allows creating a folder with html files for the
51#            detected seismic events.
52 HTMLFile        temp/emailfile
53
54#SPfilter   
55SPfilter
56
57
58# a new option is to produce GMT data
59#GMTmap   
60
61
62# the next four (4) settings govern what GMT format to use
63#Two map projections for GMT map: Mercator or Albers. Note: Mercator is the default projection
64#Mercator       
65#Albers
66
67#Cities         used when GMTmap is enable
68#Cities /home/earthworm/run/params/cities.txt
69
70#StationNames  used when GMTmap is enable
71#StationNames
72
73#MapLegend     Used when GMTmap is enable
74#MapLegend /home/earthworm/run/params/ewhtmlemail.legend
75 
76
77
78# KML - output (option)
79#   SYNTAX for KML OPTION:
80#       KML dir preamble_file
81# dir is where kml file is written
82# preamble_file is where kml preamblefile is read in from, must be the one from the src distro
83
84 
85# EmailProgram - Optional email program. It is imperative that the email program
86#                is capable of handling html email. ewhtmlemail has been created
87#                specifically for sendmail. If this option is commented out, the
88#                module assumes that emails are not to be sent and will not
89#                include the mime header in the html file. In this sense, this
90#                module becomes an event-to-html converter.
91 EmailProgram    /usr/sbin/sendmail
92
93# UseBlat - Optional to say that the EmailProgram is blat type, which takes
94#      syntax "blat.exe file -to recipient"
95#   make sure EmailProgram has the absolute path to blat.exe if it is not
96#   in your path, but set the EmailProgram entry regardless
97
98# BlatOptions "-server localhost:1099 -profile gmailsmtp"  - Optional if you need to use stunnel or something for gmail smtp
99#           Note this is not even used if you do not have UseBlat configured in the .d file
100
101#UseUTC - Optional to set the time at UTC in the html email messages (localtime zone of PC is default)
102 
103# SubjectPrefix - Optional to set the prefix of the subject to customize the email. Defaults to EWalert if this is not set.
104
105# ShowDetail - Optional to show a lot more event information in detail, errh, errz, gap, rms etc....
106
107# List of email recipients
108 EmailRecipient test@mail.com
109
110 EmailRecipientWithMinMag test2@mail.com 2.0   # only send to this person if mag is >= 2.0
111
112 EmailRecipientWithMinMagAndDist test3@mail.com 2.0 3.0  # only send to this person if mag is >= 2.0 and dist from event <=3km
113 
114
115# StaticMapType - optional, can be the maptype for the google static map.
116#               could be: terrain, satellite, or roadmap
117#               Default: hybrid (satellite+roads)
118 
119 
120# StyleFile - Optional style file for the generated html file. Some items have
121#             specific ids and classes that allows some customization through a
122#             css file. Please consult the example ewhtmlemail.css file for the
123#             ids and class names.
124 StyleFile       ewhtmlemail.css
125
126
127
128
129 #######################
130 # Waveserver Settings #
131 #######################
132 MAX_SAMPLES   100000    # Maximum number of samples to extract from any given
133                         #    station of the waveserver.
134                         #    Default: 60000
135
136 WSTimeout          5    # Waveserver timeout in seconds
137
138# List of waveservers aaa.bbb.ccc.ddd:portno
139 WaveServer 192.168.0.1:16022
140 WaveServer 192.168.0.2:16022
141 
142 
143 # TimeMargin - Optional parameter to set the time margin for downloading
144 #              waveforms from the waveservers in seconds.
145 #              Default: 10.0
146 TimeMargin     10.0
147 
148
149 # MaxDuration - is the maximum duration of the trace from origin_time - TimeMargin to endtime+ TimeMargin
150 # if trace is longer than this in length, then endtime is set to  origin_time - TimeMargin + MaxDuration
151 MaxDuration    60.0   # defaults to 144 seconds, new feature
152
153
154 #UseGIF                                # Not yet functional
155 #TraceWidth   1200             # Sets width of traces (Default 600)
156 #TraceHeight   200             # Sets height of traces (Default 60)
157 # Note that changing width or height is limited to 300 000 points for google charts
158 # In addition, the css file should be changed accordingly to avoid resizing
159 
160                         
161
162# set one letter below: Note quality from hypoinverse is A,B,C,D where A is best, like in grade school!
163# MinQuality D          # optional configuration that sets the letter of the minimum hypo quality to send emails
164                        # this filter is ONLY for email sending. All .html and .kml (if selected) will be created
165                         
166
167# 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.