1 | <HTML> |
---|
2 | <HEAD> |
---|
3 | <TITLE>Earthworm Modules: Ewspectra Configuration File</TITLE> |
---|
4 | </HEAD> |
---|
5 | |
---|
6 | <BODY TEXT="#000000" BGCOLOR="#FADFAF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF |
---|
7 | 0000"> |
---|
8 | |
---|
9 | <CENTER><H1><BR>Ewspectra Configuration File </H1> |
---|
10 | <I>(last revised 2 March, 2010)</I></CENTER> |
---|
11 | <pre> |
---|
12 | # |
---|
13 | # ewspectra Configuration File |
---|
14 | # |
---|
15 | MyModuleId MOD_EWSPEC # ewspectra's module id |
---|
16 | |
---|
17 | wsTimeout 1000 # timeout, in seconds, for talking to waveservers |
---|
18 | |
---|
19 | # Waveservers to listen to: IP Port |
---|
20 | # Can have up to 20 |
---|
21 | WaveServer 128.97.24.133 16022 |
---|
22 | |
---|
23 | WSDebug 3 # Debugging level of communication w/ waveserver |
---|
24 | |
---|
25 | ### |
---|
26 | ### Specify which SCNLs to process & what operation to perform on them |
---|
27 | ### |
---|
28 | |
---|
29 | # Produce spectra from a specific SCNL |
---|
30 | PlainSpectraSCNL 5405 HNN NP GE |
---|
31 | #PlainSpectraSCNL 5405 HNE NP GN |
---|
32 | |
---|
33 | # Produce spectra from the difference between first SCNL and second |
---|
34 | # If writing to a ring, third SCNL is needed to be used in messages written |
---|
35 | #DiffSpectraSCNLs 5405 HNE NP DS 5405 HNE NP XW |
---|
36 | |
---|
37 | # Produce spectra from the deconvolution of the second SCNL from the first |
---|
38 | # If writing to a ring, third SCNL is needed to be used in messages written |
---|
39 | #DeconvolveSpectraSCNLs 5405 HNN NP GE 5405 HNN NP XE 5405 HNN NP S1 |
---|
40 | #DeconvolveSpectraSCNLs 5405 HNN NP XE 5405 HNN NP GE 5405 HNN NP S2 |
---|
41 | |
---|
42 | ### |
---|
43 | ### Specify timespan of data to process |
---|
44 | ### |
---|
45 | |
---|
46 | # Timespan of data to process: Start Duration |
---|
47 | # Start is either YYYYMMDDHHMMSS or -S (for S seconds before now) |
---|
48 | # Duration is in seconds |
---|
49 | #TimeSpan -3600 29 |
---|
50 | #TimeSpan 20110329070000 29 |
---|
51 | |
---|
52 | TimeSpan 20110418000000 29 # 1st sample |
---|
53 | #TimeSpan 20110414010000 2 # 2nd sample (hour later) |
---|
54 | |
---|
55 | #InRing TEST_RING # Transport ring to find COMPUTE_SPECTRA messages on |
---|
56 | |
---|
57 | ### |
---|
58 | ### Specify options for pre-processing the timeseries data |
---|
59 | ### before computing the SPECTRA |
---|
60 | ### |
---|
61 | |
---|
62 | # Taper source data: Type Fraction |
---|
63 | # Type is either BARTLETT, HANNING, PARZAN, or BMHARRIS |
---|
64 | # Fraction is how much of each end of data is tapered |
---|
65 | Taper HANNING 0.1 |
---|
66 | |
---|
67 | # Butterworth filters: CutoffFreq Poles |
---|
68 | # CutoffFreq is the cutoff frequency |
---|
69 | # Poles is the number of poles used (must be an even number) |
---|
70 | # LowCut = highpass filter (cut frequencies below CutoffFreq) |
---|
71 | # HighCut = lowpass filter (cut frequencies above CutoffFreq) |
---|
72 | LowCut 0.1 4 |
---|
73 | HighCut 2.0 4 |
---|
74 | |
---|
75 | ### |
---|
76 | ### Optional smoothing of SPECTRA |
---|
77 | ### |
---|
78 | Smooth 0.1 # Source data smoothing; argument is size of window in secs |
---|
79 | |
---|
80 | |
---|
81 | ### |
---|
82 | ### Specify data to include in output & where it should go |
---|
83 | ### |
---|
84 | |
---|
85 | #ReportPeaks 6 0.4 0.8 # Report the top N peaks between the two frequencies |
---|
86 | ReportSpectra # Report the full computed spectra |
---|
87 | |
---|
88 | OutRing HYPO_RING # Transport ring to write SPECTRA and/or SPECTRA_PEAK messages to |
---|
89 | #OutFile ./ews_out.txt # File to write spectra and/or peak info to |
---|
90 | </pre> |
---|
91 | <CENTER> |
---|
92 | <A HREF="../modules.html">Module Index</A> | |
---|
93 | <A HREF="../ovr/ewspectra_ovr.html">Ewspectra Overview</A> |
---|
94 | </CENTER> |
---|
95 | |
---|
96 | |
---|
97 | <!-- USGS-required stuff at the end --> |
---|
98 | <HR> |
---|
99 | <ADDRESS> |
---|
100 | Contact: <B><address> Questions? Issues? <a href="http://lyris.nmt.edu/read/all_forums/subscribe?name=earthw" target="_blank">Subscribe to the Earthworm List (earthw). </a></address></B><BR> |
---|
101 | </ADDRESS> |
---|
102 | </BODY> |
---|
103 | </HTML> |
---|