towerops/priv/antennas/ubiquiti-pbe-m2-400-vpol.msi
Graham McIntire 3273312f6a feat: 198 real vendor .msi antenna patterns + Leaflet auto-load
Sourced 198 vendor-published MSI Planet pattern files via the
wireless-planning.com aggregator (data1.mlinkplanner.com). Real
patterns now ship for: Cambium (6), Ubiquiti (154), RF Elements
(27), MARS (5), MTI Wireless (1), Tarana (2), Ruckus (1), RFE (2).
Files dropped into priv/antennas/<vendor>-<part>.msi; the existing
boot loader picks them up and they override the synthesized catalog
entries by slug where the slugs match.

Parser improvements to handle real-world MSI file quirks:
- File-extension filter now accepts .ant/.msi (case-insensitive).
- Slug normalisation: spaces, +, and other non-alnum collapse to
  hyphens.
- Header parser splits on whitespace runs (tab or space) — different
  vendor tools produce different delimiters.
- New parse_frequency_mhz/1 handles "5500", "5 GHz", "5GHz",
  "5.6GHz", "5500 MHz", "5150-5850" (centre frequency), and
  "5.45 - 5.85 GHz" formats. Replaces the old integer-only parse.
- 2 MARS files with non-360 angular resolution and 1 with
  angle-less pattern lines were excluded; the rest parse cleanly.

Total registry now 305 antennas: 198 real vendor patterns + 107
synthesized catalog entries (used as fallback for SKUs without
public .msi files: Cambium ePMP/PMP variants, Tarana G1/G2,
ALPHA, ITELITE, KP Performance, RADWIN, Mimosa, etc.).

Leaflet auto-load fix:
- The location-picker map wasn't appearing because the form page
  didn't have the inline <script> tag the existing site map uses
  to load Leaflet. AGENTS.md forbids inline <script> in templates,
  so I added an ensureLeaflet() helper in app.ts that lazy-loads
  /vendor/leaflet/leaflet.{js,css} on first hook mount and caches
  the promise. SitesMap, CoverageMap, and CoverageLocationPicker
  all use it now — no inline scripts needed.
2026-05-06 15:09:29 -05:00

732 lines
6.8 KiB
Text

NAME PBE-M2-400 V-pol
MAKE Ubiquiti
FREQUENCY 2500
H_WIDTH 17
V_WIDTH 22
FRONT_TO_BACK 25
GAIN 18 dBi
TILT 0
POLARIZATION VERTICAL
COMMENT PBE-M2-400
HORIZONTAL 360
0 0
1 0.2
2 0.4
3 0.6
4 1
5 1.4
6 2
7 2.6
8 3.4
9 4.2
10 5.2
11 6.4
12 7.7
13 9.2
14 11
15 13.2
16 15.8
17 19.1
18 22.8
19 24.6
20 22.5
21 19.8
22 17.9
23 16.4
24 15.5
25 14.8
26 14.4
27 14.3
28 14.3
29 14.5
30 14.9
31 15.5
32 16.2
33 17.1
34 18.3
35 19.8
36 21.6
37 23.9
38 26.7
39 30.1
40 31.6
41 29.3
42 26.3
43 23.9
44 22
45 20.6
46 19.4
47 18.5
48 17.7
49 17.1
50 16.5
51 16.1
52 15.8
53 15.5
54 15.3
55 15.1
56 15
57 14.9
58 14.8
59 14.8
60 14.8
61 14.9
62 14.9
63 15
64 15.1
65 15.2
66 15.3
67 15.4
68 15.5
69 15.7
70 15.8
71 16
72 16.2
73 16.4
74 16.6
75 16.8
76 17
77 17.3
78 17.5
79 17.8
80 18
81 18.3
82 18.6
83 18.9
84 19.2
85 19.5
86 19.8
87 20.1
88 20.4
89 20.8
90 21.1
91 21.5
92 21.8
93 22.2
94 22.5
95 22.9
96 23.2
97 23.5
98 23.7
99 24
100 24.1
101 24.3
102 24.4
103 24.5
104 24.5
105 24.5
106 24.4
107 24.4
108 24.3
109 24.2
110 24.1
111 24
112 23.9
113 23.8
114 23.8
115 23.7
116 23.7
117 23.7
118 23.7
119 23.7
120 23.8
121 23.8
122 23.9
123 24
124 24.1
125 24.2
126 24.2
127 24.3
128 24.4
129 24.5
130 24.5
131 24.6
132 24.6
133 24.7
134 24.7
135 24.8
136 24.8
137 24.9
138 25.1
139 25.2
140 25.4
141 25.5
142 25.7
143 25.8
144 25.9
145 25.9
146 25.8
147 25.7
148 25.4
149 25.1
150 24.8
151 24.4
152 24
153 23.7
154 23.4
155 23.2
156 23.1
157 23
158 23.1
159 23.4
160 23.7
161 24.2
162 25
163 25.9
164 27.2
165 28.9
166 31.2
167 34.5
168 40.4
169 63.7
170 40.7
171 34.8
172 31.4
173 29.2
174 27.6
175 26.5
176 25.6
177 25.1
178 24.8
179 24.7
180 24.9
181 25.2
182 25.8
183 26.7
184 28
185 29.7
186 32.1
187 35.8
188 42.6
189 50
190 38.7
191 33.7
192 30.7
193 28.6
194 27
195 25.8
196 24.9
197 24.2
198 23.7
199 23.3
200 23.1
201 23
202 23
203 23.1
204 23.3
205 23.5
206 23.9
207 24.2
208 24.6
209 24.9
210 25.3
211 25.6
212 25.8
213 26
214 26
215 26.1
216 26
217 25.9
218 25.8
219 25.6
220 25.5
221 25.4
222 25.2
223 25.1
224 25
225 24.8
226 24.7
227 24.6
228 24.5
229 24.4
230 24.3
231 24.2
232 24.1
233 24
234 24
235 23.9
236 23.8
237 23.8
238 23.8
239 23.8
240 23.8
241 23.8
242 23.9
243 24
244 24
245 24.2
246 24.3
247 24.4
248 24.5
249 24.7
250 24.8
251 24.9
252 25
253 25
254 25
255 25
256 24.9
257 24.8
258 24.6
259 24.4
260 24.2
261 23.9
262 23.6
263 23.2
264 22.9
265 22.5
266 22.1
267 21.8
268 21.4
269 21
270 20.7
271 20.3
272 20
273 19.7
274 19.4
275 19.1
276 18.8
277 18.5
278 18.2
279 18
280 17.7
281 17.5
282 17.2
283 17
284 16.8
285 16.6
286 16.4
287 16.2
288 16
289 15.9
290 15.7
291 15.6
292 15.4
293 15.3
294 15.2
295 15.1
296 15.1
297 15
298 15
299 15
300 15
301 15
302 15.1
303 15.2
304 15.4
305 15.6
306 15.8
307 16.2
308 16.6
309 17.1
310 17.7
311 18.4
312 19.3
313 20.4
314 21.8
315 23.6
316 25.9
317 28.6
318 30.9
319 30
320 26.9
321 24
322 21.7
323 19.9
324 18.4
325 17.2
326 16.2
327 15.5
328 14.9
329 14.5
330 14.3
331 14.2
332 14.4
333 14.8
334 15.4
335 16.4
336 17.8
337 19.7
338 22.4
339 24.5
340 22.9
341 19.1
342 15.9
343 13.2
344 11
345 9.2
346 7.7
347 6.3
348 5.2
349 4.2
350 3.3
351 2.6
352 2
353 1.4
354 1
355 0.6
356 0.3
357 0.2
358 0
359 0
VERTICAL 360
0 0
1 0
2 0.1
3 0.2
4 0.4
5 0.6
6 0.9
7 1.2
8 1.6
9 2
10 2.5
11 3
12 3.6
13 4.2
14 4.9
15 5.7
16 6.5
17 7.4
18 8.4
19 9.4
20 10.5
21 11.7
22 12.9
23 14.3
24 15.7
25 17.2
26 18.8
27 20.5
28 22.2
29 23.9
30 25.5
31 26.7
32 27.6
33 28
34 28.1
35 27.9
36 27.7
37 27.5
38 27.2
39 27
40 26.8
41 26.6
42 26.3
43 26.1
44 25.9
45 25.7
46 25.5
47 25.4
48 25.2
49 25.1
50 25
51 24.9
52 24.8
53 24.8
54 24.8
55 24.8
56 24.9
57 25
58 25.1
59 25.2
60 25.4
61 25.6
62 25.8
63 26.1
64 26.4
65 26.6
66 27
67 27.3
68 27.6
69 28
70 28.3
71 28.7
72 29.1
73 29.5
74 29.9
75 30.3
76 30.7
77 31.1
78 31.5
79 31.8
80 32.2
81 32.6
82 32.9
83 33.3
84 33.7
85 34.1
86 34.4
87 34.9
88 35.3
89 35.7
90 36.2
91 36.7
92 37.2
93 37.8
94 38.3
95 38.9
96 39.4
97 39.8
98 40.2
99 40.4
100 40.4
101 40.3
102 40
103 39.6
104 39.1
105 38.6
106 38.1
107 37.6
108 37.1
109 36.7
110 36.4
111 36.1
112 35.9
113 35.7
114 35.6
115 35.6
116 35.7
117 35.8
118 36
119 36.3
120 36.7
121 37.2
122 37.7
123 38.4
124 39.2
125 40
126 40.9
127 41.7
128 42.5
129 42.9
130 43
131 42.8
132 42.2
133 41.6
134 40.9
135 40.4
136 39.9
137 39.6
138 39.4
139 39.3
140 39.4
141 39.7
142 40.1
143 40.8
144 41.6
145 42.6
146 43.8
147 45.1
148 46.2
149 46.7
150 46.5
151 45.6
152 44.5
153 43.4
154 42.4
155 41.6
156 40.9
157 40.3
158 39.7
159 38.9
160 38.1
161 37
162 35.9
163 34.7
164 33.4
165 32.3
166 31.1
167 30.1
168 29.1
169 28.3
170 27.5
171 26.9
172 26.3
173 25.8
174 25.4
175 25.1
176 24.9
177 24.8
178 24.7
179 24.7
180 24.8
181 25
182 25.2
183 25.5
184 25.9
185 26.3
186 26.8
187 27.3
188 27.8
189 28.4
190 29
191 29.6
192 30.3
193 31
194 31.7
195 32.5
196 33.3
197 34.3
198 35.3
199 36.5
200 37.8
201 39
202 39.9
203 40.2
204 39.7
205 38.7
206 37.5
207 36.3
208 35.2
209 34.3
210 33.6
211 33
212 32.6
213 32.3
214 32.1
215 32.1
216 32.2
217 32.5
218 32.9
219 33.5
220 34.2
221 35.1
222 36.3
223 37.7
224 39.4
225 41.3
226 43.1
227 43.8
228 42.6
229 40.6
230 38.7
231 36.9
232 35.5
233 34.3
234 33.3
235 32.5
236 31.8
237 31.2
238 30.7
239 30.3
240 30
241 29.8
242 29.7
243 29.6
244 29.7
245 29.7
246 29.9
247 30.1
248 30.4
249 30.7
250 31.2
251 31.7
252 32.3
253 33
254 33.7
255 34.6
256 35.6
257 36.8
258 38
259 39.2
260 40.4
261 41.3
262 41.6
263 41.3
264 40.5
265 39.5
266 38.5
267 37.6
268 36.8
269 36.1
270 35.5
271 35.1
272 34.7
273 34.4
274 34.3
275 34.2
276 34.2
277 34.3
278 34.6
279 34.9
280 35.3
281 35.8
282 36.5
283 37.3
284 38.3
285 39.4
286 40.9
287 42.6
288 44.5
289 46.3
290 47.1
291 46.1
292 44.1
293 42.1
294 40.3
295 38.8
296 37.5
297 36.4
298 35.5
299 34.8
300 34.1
301 33.5
302 33
303 32.6
304 32.3
305 32.1
306 31.8
307 31.7
308 31.6
309 31.5
310 31.4
311 31.3
312 31.3
313 31.2
314 31.1
315 31.1
316 31
317 31
318 30.9
319 30.9
320 31
321 31.3
322 31.7
323 32.3
324 33.4
325 35
326 37.5
327 41
328 40.7
329 35.4
330 30.9
331 27.4
332 24.5
333 22.1
334 19.9
335 18
336 16.3
337 14.7
338 13.2
339 11.9
340 10.7
341 9.5
342 8.5
343 7.5
344 6.6
345 5.8
346 5
347 4.3
348 3.6
349 3
350 2.5
351 2
352 1.6
353 1.2
354 0.9
355 0.6
356 0.4
357 0.2
358 0.1
359 0