2
$TITLE = "Weather Station";
3
$MODULES = array("config", "graph", "wiki");
5
$ADEI_TIMINGS = array (
6
_("1 Year") => 31536000,
7
_("1 Month") => 2592000,
10
_("6 Hours") => 21600,
18
$EXPORT_FORMATS = array (
28
'handler' => "LABVIEW",
34
$READER_DB_WT = array(
37
"reader" => "DBReader",
40
"subdrv" => "FreeTDS",
41
"host" => "192.168.8.6",
44
"password" => '$souren$',
45
"database" => array("KFK_Mast"),
46
"charset" => "ISO8859-1",
47
"timeout" => 200000, // us
48
"ping" => true, // host and port should be specified
49
// "disconnected" => true
52
"title" => _("Weather Tower"),
53
"reader" => "IPEReader",
56
"subdrv" => "FreeTDS",
57
"host" => "imkmastdb2.ka.fzk.de",
60
"password" => '$souren$',
61
"database" => array("Mastdaten_rep", "MastdatenArchiv"),
62
"charset" => "ISO8859-1",
63
"timeout" => 200000, // us
64
"ping" => true, // host and port should be specified
65
"disconnected" => false
69
if (is_array($READER_DB)) $READER_DB = array_merge($READER_DB_WT, $READER_DB);
70
else $READER_DB = $READER_DB_WT;
74
$OPTIONS["imk__KFK_Mast"] = array(
79
"/^(HV1|TW1|U1)$/" => array(
88
"timezone" => "Europe/Berlin",
89
// "time_module" => "MSTICKS",
90
// "time_options" => -36000000000, // correction
91
"timesort" => 1, // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
92
"date_limit" => "2000-01-01 00:00:00", //GMT
93
// "date_limit" => array("2005-08-06 00:00:00","2005-08-08 00:00:00"), //GMT
94
// "date_limit" => "2008-03-29 21:00:00", //GMT
95
"min_resolution" => 600,
96
"ignore_subseconds" => false,
97
"optimize_empty_cache" => true,
98
"use_cache_timewindow" => true,
99
// "use_cache_reader" => true,
100
// "use_md5_postfix" => true,
101
"trace_timings" => false,
102
"monitor_timings" => array(
103
"query_limit" => 500000, /* us */
104
"raise_exception" => true
106
"cache_config" => array(
107
array("min" => 630720000, "res" => 604800),
108
array("min" => 31536000, "res" => 43200)
110
"data_filters" => array(
111
"BADVALUEFilter" => array (
118
$OPTIONS["mast"] = array(
120
"/^(.*)Archive$/" => 'Wv$ArchivData$${1}',
121
"/^(.*)Calc$/" => 'Wv$CalcData$${1}',
122
"/^(.*)$/" => 'Wv$LiveData$${1}',
125
"/^Wv\\\$LiveData\\\$([\w\d_]+)$/" => array(
126
// "/^Wv\\\$LiveData\\\$(Analog|DewPoint|Precipitation|Temperature|WindSpeed)$/" => array(
128
'title' => '${1} Live'
130
"/^Wv\\\$CalcData\\\$([\w\d_]+)$/" => array(
131
// "/^Wv\\\$CalcData\\\$(Analog|DewPoint|Precipitation|Temperature|WindSpeed)$/" => array(
133
'title' => '${1} Calculated'
135
"/^Wv\\\$ArchivData\\\$([\w\d_]+)$/" => array(
136
// "/^Wv\\\$CalcData\\\$(Analog|DewPoint|Precipitation|Temperature|WindSpeed)$/" => array(
137
'gid' => '${1}Archive',
138
'title' => '${1} Archive '
142
"time" => "WsDateTimeTicks",
145
"timezone" => "Europe/Berlin",
146
"time_module" => "MSTICKS",
147
// "time_options" => -36000000000, // correction
148
"timesort" => 1, // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
149
// "date_limit" => "2000-01-01 00:00:00", //GMT
150
// "date_limit" => array("2005-08-06 00:00:00","2005-08-08 00:00:00"), //GMT
151
// "date_limit" => "2008-03-29 21:00:00", //GMT
152
"min_resolution" => 60,
153
"ignore_subseconds" => true,
154
"optimize_empty_cache" => true,
155
"use_cache_timewindow" => true,
156
// "use_cache_reader" => true,
157
"use_md5_postfix" => false,
158
"trace_timings" => false,
159
"monitor_timings" => array(
160
"query_limit" => 500000, /* us */
161
"raise_exception" => true
163
/* "cache_config" => array(
164
array("min" => 630720000, "res" => 604800),
165
array("min" => 31536000, "res" => 43200)
167
"data_filters" => array(
168
"BADVALUEFilter" => array (
172
"channel_uids" => "/^MT_/",
174
"/^MT_PT_T_AIR/i" => "temperature"
178
$OPTIONS["mast__Mastdaten_rep__Licor"] = array(
179
"min_resolution" => 10,
180
"ignore_subseconds" => false
183
$OPTIONS["mast__Mastdaten_rep__LicorCalc"] = array(
184
"min_resolution" => 10,
185
"ignore_subseconds" => false
188
$OPTIONS["mast__Mastdaten_rep__Sonic1"] = array(
189
"min_resolution" => 10,
190
"ignore_subseconds" => false
193
$OPTIONS["mast__Mastdaten_rep__Sonic1Calc"] = array(
194
"min_resolution" => 10,
195
"ignore_subseconds" => false
198
$OPTIONS["mast__Mastdaten_rep__Sonic2"] = array(
199
"min_resolution" => 10,
200
"ignore_subseconds" => false
203
$OPTIONS["mast__Mastdaten_rep__Sonic2Calc"] = array(
204
"min_resolution" => 10,
205
"ignore_subseconds" => false
208
$OPTIONS["mast__Mastdaten_rep__Sonic3"] = array(
209
"min_resolution" => 10,
210
"ignore_subseconds" => false
213
$OPTIONS["mast__Mastdaten_rep__Sonic3Calc"] = array(
214
"min_resolution" => 10,
215
"ignore_subseconds" => false
218
$OPTIONS["mast__Mastdaten_rep__Sonic4"] = array(
219
"min_resolution" => 10,
220
"ignore_subseconds" => false
223
$OPTIONS["mast__Mastdaten_rep__Sonic4Calc"] = array(
224
"min_resolution" => 10,
225
"ignore_subseconds" => false