-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconv_testInput.conf.php
121 lines (91 loc) · 5.37 KB
/
conv_testInput.conf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?php
/**
************************************************************************************************************************************
* Convert Template
* DWD 06.10.15
************************************************************************************************************************************
*/
//-------------------------------------------------------------------------------------------------------------------------------------------------
//eventCode
$conv->info['tag'][] = "eventCode";
$conv->info['ValueName'][] = "AREA_COLOR";
$conv->info['tag'][] = "eventCode";
$conv->info['ValueName'][] = "GROUP";
$conv->info['tag'][] = "eventCode";
$conv->info['ValueName'][] = "PROFILE_VERSION";
$conv->info['tag'][] = "eventCode";
$conv->info['ValueName'][] = "LICENSE";
$conv->info['tag'][] = "eventCode";
$conv->info['ValueName'][] = "II";
// geocode
$conv->info['tag'][] = "geocode";
$conv->info['ValueName'][] = "STATE";
$conv->info['tag'][] = "geocode";
$conv->info['ValueName'][] = "WARNCELLID";
$conv->info['tag'][] = "geocode";
$conv->info['ValueName'][] = "SIGN";
$conv->info['tag'][] = "geocode";
$conv->info['ValueName'][] = "ALTITUDE";
//-------------------------------------------------------------------------------------------------------------------------------------------------
// alert block
$conv->structure['tag'][] = "identifier";
$conv->structure['tag'][] = "sender";
$conv->structure['tag'][] = "sent";
$conv->structure['tag'][] = "status";
$conv->structure['tag'][] = "msgType";
$conv->structure['tag'][] = "scope";
// info block
$conv->structure['tag']['info'][] = "language";
$conv->structure['tag']['info'][] = "category";
$conv->structure['tag']['info'][] = "event";
$conv->structure['tag']['info'][] = "responseType";
$conv->structure['tag']['info'][] = "eventCode";
$conv->structure['tag']['info'][] = "urgency";
$conv->structure['tag']['info'][] = "severity";
$conv->structure['tag']['info'][] = "certainty";
$conv->structure['tag']['info'][] = "effective";
$conv->structure['tag']['info'][] = "onset";
$conv->structure['tag']['info'][] = "expires";
$conv->structure['tag']['info'][] = "senderName";
$conv->structure['tag']['info'][] = "headline";
$conv->structure['tag']['info'][] = "description";
$conv->structure['tag']['info'][] = "instruction";
$conv->structure['tag']['info'][] = "web";
$conv->structure['tag']['info'][] = "contact";
// area block
$conv->structure['tag']['info']['area'][] = "areaDesc";
$conv->structure['tag']['info']['area'][] = "polygon";
$conv->structure['tag']['info']['area'][] = "geocode";
$conv->structure['tag']['info']['area'][] = "altitude";
$conv->structure['tag']['info']['area'][] = "ceiling";
//-------------------------------------------------------------------------------------------------------------------------------------------------
// do not move's
$conv->move['PROFILE_VERSION'][] = "donotmove1";
$conv->move['LICENSE'][] = "donotmove2";
$conv->move['II'][] = "donotmove3";
$conv->move['WARNCELLID'][] = "donotmove4";
$conv->move['SIGN'][] = "donotmove5";
$conv->move['ALTITUDE'][] = "donotmove6";
$conv->move['STATE'][] = "area_code";
$conv->move['AREA_COLOR'][] = "hazard_level"; // lösche den source AREA_COLOR oder überschreibe den destinaion AREA_COLOR
$conv->translate["255 128 128"][] = 'Minor'; // Hellblau = Grün Keine
$conv->translate["204 153 255"][] = 'Minor'; // Rosa Vorabinformation
$conv->translate["255 255 0"][] = 'Moderate'; // Gelb Wetterwarnung
$conv->translate["255 153 0"][] = 'Severe'; // Orange Markantes Wetter
$conv->translate["255 0 0"][] = 'Extreme'; // Rot Unwetterwarnung
$conv->translate["175 0 100"][] = 'Extreme'; // Violett Extreme Wetterwarnung
$conv->move['GROUP'][] = "hazard_type"; // lösche den source awareness_level oder überschreibe den destinaion awareness_level
$conv->translate['THUNDERSTORM'][] = "thunderstorm";
$conv->translate['WIND'][] = "wind";
$conv->translate['RAIN'][] = "rain";
$conv->translate['HAIL'][] = "hail";
$conv->translate['SNOWFALL'][] = "snow";
$conv->translate['SNOWDRIFT'][] = "ice";
$conv->translate['FOG'][] = "fog";
$conv->translate['FROST'][] = "frost";
$conv->translate['GLAZE'][] = "glaze";
$conv->translate['THAW'][] = "thaw";
$conv->translate['LAKE'][] = "lake";
$conv->translate['HEAT'][] = "heat";
$conv->translate['FROST'][] = "cold";
//-------------------------------------------------------------------------------------------------------------------------------------------------