towerops/priv/antennas/ubiquiti-nb-5g22-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 NB-5G22 V-pol
MAKE Ubiquiti
FREQUENCY 5500
H_WIDTH 10
V_WIDTH 12
FRONT_TO_BACK 23
GAIN 22 dBi
TILT 0
POLARIZATION VERTICAL
COMMENT NanoBridge
HORIZONTAL 360
0 0.1
1 0.5
2 1.2
3 2.1
4 3.3
5 5
6 7.1
7 10.1
8 14.4
9 22.3
10 28
11 18.2
12 14.3
13 12.2
14 11
15 10.5
16 10.5
17 10.9
18 11.7
19 12.8
20 14.4
21 16.4
22 18.9
23 22.1
24 26.1
25 30
26 30.7
27 29.3
28 28.4
29 28.5
30 29.7
31 32.3
32 37.2
33 41.4
34 34.7
35 30
36 27.1
37 25.2
38 23.9
39 23
40 22.6
41 22.4
42 22.5
43 22.9
44 23.5
45 24.3
46 25.4
47 26.8
48 28.4
49 30.5
50 32.9
51 35.5
52 37.4
53 37.4
54 35.8
55 33.9
56 32.3
57 31
58 29.9
59 29
60 28.2
61 27.5
62 26.9
63 26.3
64 25.8
65 25.3
66 24.9
67 24.5
68 24.1
69 23.7
70 23.4
71 23.2
72 22.9
73 22.7
74 22.6
75 22.5
76 22.3
77 22.3
78 22.2
79 22.2
80 22.2
81 22.3
82 22.3
83 22.4
84 22.6
85 22.7
86 22.9
87 23.1
88 23.4
89 23.7
90 24
91 24.3
92 24.7
93 25.2
94 25.6
95 26.1
96 26.6
97 27.1
98 27.6
99 28.1
100 28.6
101 29
102 29.4
103 29.7
104 30
105 30.2
106 30.4
107 30.6
108 30.8
109 31.1
110 31.4
111 31.7
112 32.2
113 32.6
114 33.2
115 33.6
116 33.9
117 33.9
118 33.6
119 33
120 32.1
121 31.1
122 30.2
123 29.4
124 28.6
125 28
126 27.5
127 27.2
128 27
129 27
130 27.2
131 27.5
132 28.1
133 28.8
134 29.8
135 31.1
136 32.7
137 34.5
138 36.4
139 37.8
140 37.9
141 37
142 35.8
143 34.7
144 33.7
145 32.8
146 31.8
147 30.7
148 29.5
149 28.2
150 27
151 26
152 25.1
153 24.5
154 24.1
155 23.9
156 24.1
157 24.5
158 25.3
159 26.5
160 28.3
161 30.9
162 34.6
163 40.7
164 45.2
165 39.2
166 35.7
167 34.1
168 33.7
169 34.1
170 34.9
171 35
172 33.3
173 30.6
174 28.1
175 26.2
176 24.7
177 23.7
178 23.1
179 22.9
180 23.1
181 23.6
182 24.4
183 25.7
184 27.4
185 29.4
186 31.5
187 32.9
188 33.1
189 32.8
190 32.7
191 33.2
192 34.6
193 37.3
194 40.5
195 38.5
196 33.9
197 30.5
198 28
199 26.3
200 25.1
201 24.3
202 23.8
203 23.6
204 23.7
205 24
206 24.5
207 25.2
208 26
209 26.9
210 27.8
211 28.7
212 29.6
213 30.4
214 31.4
215 32.4
216 33.7
217 35.2
218 36.4
219 36.5
220 35.3
221 33.4
222 31.6
223 30
224 28.7
225 27.7
226 26.9
227 26.4
228 26.1
229 25.9
230 25.9
231 26
232 26.3
233 26.8
234 27.3
235 28
236 28.7
237 29.5
238 30.2
239 30.8
240 31.3
241 31.5
242 31.4
243 31.1
244 30.7
245 30.3
246 29.9
247 29.5
248 29.2
249 28.9
250 28.6
251 28.5
252 28.3
253 28.1
254 27.9
255 27.7
256 27.5
257 27.2
258 26.8
259 26.4
260 26
261 25.6
262 25.1
263 24.7
264 24.2
265 23.8
266 23.4
267 23
268 22.7
269 22.3
270 22.1
271 21.8
272 21.6
273 21.4
274 21.3
275 21.2
276 21.1
277 21
278 21
279 21
280 21
281 21.1
282 21.2
283 21.3
284 21.5
285 21.7
286 21.9
287 22.2
288 22.5
289 22.9
290 23.2
291 23.7
292 24.1
293 24.6
294 25.2
295 25.7
296 26.4
297 27.1
298 27.9
299 28.7
300 29.8
301 31
302 32.6
303 34.5
304 36.6
305 38
306 36.8
307 34.1
308 31.3
309 29
310 27.1
311 25.5
312 24.2
313 23.2
314 22.4
315 21.9
316 21.6
317 21.5
318 21.7
319 22.1
320 22.9
321 24.1
322 25.8
323 28.2
324 31.5
325 35.1
326 35.3
327 32.6
328 30.4
329 29.3
330 28.9
331 28.9
332 28.2
333 25.7
334 22.5
335 19.5
336 16.9
337 14.8
338 13.1
339 11.8
340 10.8
341 10.1
342 9.8
343 9.9
344 10.4
345 11.5
346 13.5
347 16.7
348 21
349 18.7
350 13.3
351 9.5
352 6.8
353 4.7
354 3.1
355 1.9
356 1
357 0.4
358 0.1
359 0
VERTICAL 360
0 0
1 0.2
2 0.6
3 1.2
4 1.9
5 2.8
6 4
7 5.4
8 7.1
9 9.2
10 11.8
11 15.2
12 19.7
13 25.1
14 24.9
15 21.2
16 18.8
17 17.3
18 16.6
19 16.3
20 16.3
21 16.6
22 17.1
23 17.9
24 18.7
25 19.7
26 20.8
27 22
28 23.3
29 24.5
30 25.7
31 26.6
32 27.2
33 27.4
34 27.3
35 27.1
36 26.9
37 26.8
38 26.8
39 26.9
40 27.2
41 27.7
42 28.1
43 28.6
44 29.1
45 29.3
46 29.5
47 29.4
48 29.3
49 29.2
50 29.1
51 29.1
52 29.2
53 29.5
54 30
55 30.7
56 31.7
57 32.9
58 34.6
59 36.7
60 39.7
61 44.2
62 53.3
63 53.2
64 44.8
65 40.9
66 38.4
67 36.8
68 35.7
69 34.9
70 34.5
71 34.3
72 34.2
73 34.4
74 34.8
75 35.3
76 36
77 36.9
78 38
79 39.3
80 40.7
81 42.3
82 43.8
83 44.8
84 44.7
85 43.9
86 42.6
87 41.3
88 40.1
89 39
90 37.9
91 36.9
92 36
93 35.1
94 34.3
95 33.5
96 32.7
97 32
98 31.4
99 30.8
100 30.3
101 29.8
102 29.4
103 29.1
104 28.9
105 28.7
106 28.7
107 28.7
108 28.9
109 29.2
110 29.6
111 30.1
112 30.8
113 31.7
114 32.7
115 34.1
116 35.6
117 37.2
118 38.4
119 38.4
120 37.1
121 35.4
122 33.7
123 32.3
124 31.1
125 30.1
126 29.4
127 28.9
128 28.6
129 28.4
130 28.5
131 28.8
132 29.3
133 30
134 31
135 32.3
136 33.9
137 36
138 38.5
139 40.6
140 40.6
141 38.6
142 36.4
143 34.4
144 32.9
145 31.6
146 30.5
147 29.5
148 28.7
149 28
150 27.5
151 27.1
152 26.9
153 27
154 27.3
155 27.9
156 28.8
157 30.2
158 32.1
159 34.4
160 36.3
161 35.9
162 33.8
163 31.7
164 30.1
165 29
166 28.3
167 27.8
168 27.6
169 27.4
170 27.1
171 26.5
172 25.7
173 24.9
174 24.1
175 23.4
176 22.9
177 22.6
178 22.6
179 22.9
180 23.4
181 24.2
182 25.1
183 26.2
184 27.2
185 27.9
186 28.1
187 28.1
188 28.1
189 28.1
190 28.5
191 29.2
192 30.5
193 32.2
194 34.3
195 35.7
196 35.1
197 33.2
198 31.2
199 29.8
200 28.7
201 28.1
202 27.9
203 28
204 28.3
205 28.9
206 29.7
207 30.6
208 31.7
209 32.8
210 33.9
211 35.2
212 36.7
213 38.7
214 41.6
215 46.4
216 52.3
217 45.3
218 40
219 36.6
220 34.2
221 32.5
222 31.3
223 30.4
224 29.8
225 29.5
226 29.4
227 29.6
228 30.1
229 30.8
230 31.8
231 33.3
232 35.2
233 37.9
234 42
235 47.9
236 46.6
237 41.2
238 37.6
239 35.2
240 33.5
241 32.2
242 31.3
243 30.6
244 30.1
245 29.8
246 29.7
247 29.7
248 29.8
249 30
250 30.4
251 30.9
252 31.5
253 32.3
254 33.1
255 34.1
256 35.1
257 36.2
258 37.2
259 37.9
260 38.3
261 38.2
262 37.8
263 37.1
264 36.4
265 35.8
266 35.2
267 34.7
268 34.4
269 34.1
270 33.9
271 33.9
272 33.9
273 34
274 34.1
275 34.4
276 34.6
277 34.9
278 35.3
279 35.6
280 36
281 36.3
282 36.6
283 36.8
284 37
285 37.2
286 37.3
287 37.3
288 37.2
289 37
290 36.7
291 36.2
292 35.6
293 34.9
294 34
295 33.1
296 32.2
297 31.3
298 30.4
299 29.6
300 28.9
301 28.3
302 27.8
303 27.3
304 27
305 26.9
306 26.9
307 27
308 27.3
309 27.8
310 28.6
311 29.7
312 31.1
313 33
314 35.5
315 38.4
316 39.5
317 37.3
318 34.4
319 32.1
320 30.3
321 29
322 28.1
323 27.4
324 26.9
325 26.5
326 26.1
327 25.8
328 25.4
329 24.8
330 24.2
331 23.6
332 22.9
333 22.3
334 21.7
335 21.3
336 21
337 20.8
338 20.9
339 21.4
340 22.3
341 24
342 27.1
343 33.5
344 30.5
345 22.9
346 18
347 14.4
348 11.6
349 9.3
350 7.4
351 5.8
352 4.4
353 3.2
354 2.2
355 1.4
356 0.8
357 0.4
358 0.1
359 0