2
$TITLE = "Weather Station";
3
$MODULES = array("config", "graph", "wiki");
6
$EXPORT_FORMATS = array (
16
'handler' => "LABVIEW",
22
$READER_DB_IMK = array(
24
"title" => _("Weather Tower"),
25
"reader" => "IPEReader",
28
"subdrv" => "FreeTDS",
29
"host" => "ipepdvmssqldb1.ka.fzk.de",
32
"password" => '$souren$',
33
"database" => array("Mastdaten_rep"),
34
"charset" => "ISO8859-1",
35
"timeout" => 200000, // us
36
"ping" => true, // host and port should be specified
37
"disconnected" => false
41
if (is_array($READER_DB)) $READER_DB = array_merge($READER_DB_IMK, $READER_DB);
42
else $READER_DB = $READER_DB_IMK;
45
$OPTIONS["mast"] = array(
47
"/^(.*)$/" => 'Wv$LiveData$${1}',
50
"/^Wv\\\$LiveData\\\$([\w\d_]+)$/" => array(
56
"time" => "WsDateTimeTicks",
59
"timezone" => "Europe/Berlin",
60
"time_module" => "MSTICKS",
61
// "time_options" => -36000000000, // correction
62
"timesort" => 1, // 0 - NATURAL, 1 - ASC, -1 - DESC, string whith request
63
// "date_limit" => "2000-01-01 00:00:00", //GMT
64
// "date_limit" => array("2005-08-06 00:00:00","2005-08-08 00:00:00"), //GMT
65
// "date_limit" => "2008-03-29 21:00:00", //GMT
66
"min_resolution" => 60,
67
"ignore_subseconds" => true,
68
"optimize_empty_cache" => true,
69
"use_cache_timewindow" => true,
70
// "use_cache_reader" => true,
71
"use_md5_postfix" => false,
72
"trace_timings" => false,
73
"monitor_timings" => array(
74
"query_limit" => 500000, /* us */
75
"raise_exception" => true
77
/* "cache_config" => array(
78
array("min" => 630720000, "res" => 604800),
79
array("min" => 31536000, "res" => 43200)
81
"data_filters" => array(
82
"BADVALUEFilter" => array (
88
$OPTIONS["mast__Mastdaten_rep__Licor"] = array(
89
"min_resolution" => 10,
90
"ignore_subseconds" => false
93
$OPTIONS["mast__Mastdaten_rep__DewPoint"] = array(
94
"min_resolution" => 3600,
95
"ignore_subseconds" => false