2
$TITLE = "Weather Station";
3
$MODULES = array("config", "graph", "wiki");
6
$EXPORT_FORMATS = array (
16
'handler' => "LABVIEW",
22
$READER_DB_WT = array(
25
"reader" => "DBReader",
28
"subdrv" => "FreeTDS",
29
"host" => "192.168.8.6",
32
"password" => '$souren$',
33
"database" => array("KFK_Mast"),
34
"charset" => "ISO8859-1",
35
"timeout" => 200000, // us
36
"ping" => true, // host and port should be specified
37
// "disconnected" => true
40
"title" => _("Weather Tower"),
41
"reader" => "IPEReader",
44
"subdrv" => "FreeTDS",
45
"host" => "imkmastdb2.ka.fzk.de",
48
"password" => '$souren$',
49
"database" => array("Mastdaten_rep"),
50
"charset" => "ISO8859-1",
51
"timeout" => 200000, // us
52
"ping" => true, // host and port should be specified
53
"disconnected" => false
57
if (is_array($READER_DB)) $READER_DB = array_merge($READER_DB_WT, $READER_DB);
58
else $READER_DB = $READER_DB_WT;
62
$OPTIONS["imk__KFK_Mast"] = array(
67
"/^(HV1|TW1|U1)$/" => array(
76
"timezone" => "Europe/Berlin",
77
// "time_module" => "MSTICKS",
78
// "time_options" => -36000000000, // correction
79
"timesort" => 1, // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
80
"date_limit" => "2000-01-01 00:00:00", //GMT
81
// "date_limit" => array("2005-08-06 00:00:00","2005-08-08 00:00:00"), //GMT
82
// "date_limit" => "2008-03-29 21:00:00", //GMT
83
"min_resolution" => 600,
84
"ignore_subseconds" => false,
85
"optimize_empty_cache" => true,
86
"use_cache_timewindow" => true,
87
// "use_cache_reader" => true,
88
// "use_md5_postfix" => true,
89
"trace_timings" => false,
90
"monitor_timings" => array(
91
"query_limit" => 500000, /* us */
92
"raise_exception" => true
94
"cache_config" => array(
95
array("min" => 630720000, "res" => 604800),
96
array("min" => 31536000, "res" => 43200)
98
"data_filters" => array(
99
"BADVALUEFilter" => array (
106
$OPTIONS["mast"] = array(
108
"/^(.*)Archive$/" => 'Wv$ArchivData$${1}',
109
"/^(.*)Calc$/" => 'Wv$CalcData$${1}',
110
"/^(.*)$/" => 'Wv$LiveData$${1}',
113
"/^Wv\\\$LiveData\\\$([\w\d_]+)$/" => array(
114
// "/^Wv\\\$LiveData\\\$(Analog|DewPoint|Precipitation|Temperature|WindSpeed)$/" => array(
116
'title' => '${1} Live'
118
"/^Wv\\\$CalcData\\\$([\w\d_]+)$/" => array(
119
// "/^Wv\\\$CalcData\\\$(Analog|DewPoint|Precipitation|Temperature|WindSpeed)$/" => array(
121
'title' => '${1} Calculated'
123
"/^Wv\\\$ArchivData\\\$([\w\d_]+)$/" => array(
124
// "/^Wv\\\$CalcData\\\$(Analog|DewPoint|Precipitation|Temperature|WindSpeed)$/" => array(
125
'gid' => '${1}Archive',
126
'title' => '${1} Archive '
130
"time" => "WsDateTimeTicks",
133
"timezone" => "Europe/Berlin",
134
"time_module" => "MSTICKS",
135
// "time_options" => -36000000000, // correction
136
"timesort" => 1, // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
137
// "date_limit" => "2000-01-01 00:00:00", //GMT
138
// "date_limit" => array("2005-08-06 00:00:00","2005-08-08 00:00:00"), //GMT
139
// "date_limit" => "2008-03-29 21:00:00", //GMT
140
"min_resolution" => 60,
141
"ignore_subseconds" => true,
142
"optimize_empty_cache" => true,
143
"use_cache_timewindow" => true,
144
// "use_cache_reader" => true,
145
"use_md5_postfix" => false,
146
"trace_timings" => false,
147
"monitor_timings" => array(
148
"query_limit" => 500000, /* us */
149
"raise_exception" => true
151
/* "cache_config" => array(
152
array("min" => 630720000, "res" => 604800),
153
array("min" => 31536000, "res" => 43200)
155
"data_filters" => array(
156
"BADVALUEFilter" => array (
160
"channel_uids" => "/^MT_/",
162
"/^MT_PT_T_AIR/i" => "temperature"
166
$OPTIONS["mast__Mastdaten_rep__Licor"] = array(
167
"min_resolution" => 10,
168
"ignore_subseconds" => false
171
$OPTIONS["mast__Mastdaten_rep__LicorCalc"] = array(
172
"min_resolution" => 10,
173
"ignore_subseconds" => false
176
$OPTIONS["mast__Mastdaten_rep__Sonic1"] = array(
177
"min_resolution" => 10,
178
"ignore_subseconds" => false
181
$OPTIONS["mast__Mastdaten_rep__Sonic1Calc"] = array(
182
"min_resolution" => 10,
183
"ignore_subseconds" => false
186
$OPTIONS["mast__Mastdaten_rep__Sonic2"] = array(
187
"min_resolution" => 10,
188
"ignore_subseconds" => false
191
$OPTIONS["mast__Mastdaten_rep__Sonic2Calc"] = array(
192
"min_resolution" => 10,
193
"ignore_subseconds" => false
196
$OPTIONS["mast__Mastdaten_rep__Sonic3"] = array(
197
"min_resolution" => 10,
198
"ignore_subseconds" => false
201
$OPTIONS["mast__Mastdaten_rep__Sonic3Calc"] = array(
202
"min_resolution" => 10,
203
"ignore_subseconds" => false
206
$OPTIONS["mast__Mastdaten_rep__Sonic4"] = array(
207
"min_resolution" => 10,
208
"ignore_subseconds" => false
211
$OPTIONS["mast__Mastdaten_rep__Sonic4Calc"] = array(
212
"min_resolution" => 10,
213
"ignore_subseconds" => false