towerops/priv/antennas/ubiquiti-nb-2g18-hpol.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-2G18 H-pol
MAKE Ubiquiti
FREQUENCY 2500
H_WIDTH 19
V_WIDTH 17
FRONT_TO_BACK 28
GAIN 18 dBi
TILT 0
POLARIZATION HORIZONTAL
COMMENT NanoBridge M
HORIZONTAL 360
0 0
1 0.1
2 0.2
3 0.4
4 0.6
5 0.9
6 1.3
7 1.8
8 2.3
9 2.9
10 3.5
11 4.3
12 5.1
13 6
14 7
15 8.2
16 9.5
17 10.9
18 12.5
19 14.4
20 16.5
21 19.2
22 22.5
23 27.1
24 34.8
25 38.6
26 30.7
27 26.9
28 24.7
29 23.3
30 22.5
31 21.9
32 21.7
33 21.6
34 21.7
35 22
36 22.3
37 22.8
38 23.4
39 23.9
40 24.5
41 25.1
42 25.5
43 25.8
44 25.9
45 25.9
46 25.6
47 25.3
48 24.9
49 24.5
50 24.1
51 23.8
52 23.4
53 23.1
54 22.9
55 22.7
56 22.5
57 22.4
58 22.4
59 22.4
60 22.4
61 22.4
62 22.5
63 22.7
64 22.8
65 23.1
66 23.3
67 23.6
68 24
69 24.3
70 24.8
71 25.2
72 25.7
73 26.3
74 26.8
75 27.5
76 28.1
77 28.7
78 29.4
79 30
80 30.6
81 31.1
82 31.4
83 31.6
84 31.6
85 31.4
86 31.2
87 30.9
88 30.5
89 30.1
90 29.8
91 29.4
92 29.1
93 28.8
94 28.6
95 28.4
96 28.2
97 28.1
98 28.1
99 28
100 28.1
101 28.1
102 28.2
103 28.3
104 28.4
105 28.6
106 28.8
107 28.9
108 29.1
109 29.3
110 29.5
111 29.7
112 29.9
113 30
114 30.1
115 30.2
116 30.3
117 30.3
118 30.3
119 30.3
120 30.3
121 30.2
122 30.2
123 30.1
124 30
125 29.9
126 29.8
127 29.6
128 29.5
129 29.3
130 29.1
131 28.9
132 28.6
133 28.3
134 28.1
135 27.7
136 27.4
137 27.1
138 26.8
139 26.5
140 26.2
141 25.9
142 25.6
143 25.4
144 25.1
145 24.9
146 24.7
147 24.6
148 24.4
149 24.3
150 24.2
151 24.1
152 24.1
153 24.1
154 24.2
155 24.3
156 24.4
157 24.6
158 24.9
159 25.2
160 25.6
161 26
162 26.5
163 27.1
164 27.6
165 28.2
166 28.8
167 29.3
168 29.7
169 30
170 30
171 30
172 29.8
173 29.5
174 29.3
175 29
176 28.8
177 28.6
178 28.5
179 28.4
180 28.4
181 28.4
182 28.3
183 28.3
184 28.2
185 28
186 27.7
187 27.4
188 27
189 26.6
190 26.2
191 25.8
192 25.4
193 25.1
194 24.8
195 24.5
196 24.3
197 24.2
198 24.1
199 24
200 24
201 24
202 24.1
203 24.2
204 24.3
205 24.4
206 24.6
207 24.7
208 24.9
209 25.1
210 25.3
211 25.5
212 25.8
213 26
214 26.2
215 26.5
216 26.7
217 26.9
218 27.1
219 27.3
220 27.5
221 27.6
222 27.7
223 27.7
224 27.6
225 27.6
226 27.5
227 27.3
228 27.2
229 27
230 26.9
231 26.7
232 26.6
233 26.5
234 26.5
235 26.4
236 26.5
237 26.5
238 26.6
239 26.7
240 26.8
241 27
242 27.2
243 27.4
244 27.7
245 27.9
246 28.1
247 28.4
248 28.6
249 28.7
250 28.9
251 29
252 29
253 29
254 29
255 29
256 28.9
257 28.9
258 28.8
259 28.7
260 28.7
261 28.7
262 28.7
263 28.7
264 28.8
265 29
266 29.2
267 29.4
268 29.8
269 30.1
270 30.6
271 31.1
272 31.7
273 32.4
274 33.2
275 34.1
276 35.1
277 36.1
278 36.9
279 37.5
280 37.6
281 37.2
282 36.3
283 35.3
284 34.2
285 33.2
286 32.2
287 31.3
288 30.5
289 29.8
290 29.2
291 28.7
292 28.3
293 27.9
294 27.6
295 27.3
296 27.1
297 27
298 27
299 26.9
300 27
301 27.1
302 27.2
303 27.4
304 27.7
305 27.9
306 28.1
307 28.4
308 28.5
309 28.5
310 28.4
311 28.1
312 27.6
313 27
314 26.2
315 25.4
316 24.6
317 23.8
318 23
319 22.3
320 21.6
321 21
322 20.5
323 20
324 19.7
325 19.5
326 19.4
327 19.4
328 19.6
329 19.9
330 20.5
331 21.3
332 22.4
333 23.7
334 25
335 25.4
336 23.9
337 21.3
338 18.7
339 16.3
340 14.3
341 12.4
342 10.8
343 9.4
344 8.1
345 7
346 6
347 5.1
348 4.2
349 3.5
350 2.8
351 2.2
352 1.7
353 1.3
354 0.9
355 0.6
356 0.4
357 0.2
358 0.1
359 0
VERTICAL 360
0 0
1 0.1
2 0.3
3 0.6
4 0.9
5 1.4
6 1.9
7 2.5
8 3.2
9 4
10 5
11 6.1
12 7.3
13 8.8
14 10.6
15 12.7
16 15.3
17 18.8
18 23.9
19 32.3
20 27.8
21 22.3
22 19.2
23 17.2
24 15.8
25 14.9
26 14.3
27 13.9
28 13.7
29 13.7
30 13.8
31 14
32 14.4
33 15
34 15.6
35 16.4
36 17.4
37 18.5
38 19.8
39 21.3
40 23
41 25.1
42 27.3
43 29.4
44 30.5
45 29.8
46 28.2
47 26.5
48 25.1
49 23.9
50 23
51 22.2
52 21.6
53 21.1
54 20.7
55 20.3
56 20.1
57 19.9
58 19.8
59 19.7
60 19.6
61 19.6
62 19.6
63 19.6
64 19.7
65 19.8
66 19.8
67 19.9
68 20
69 20.1
70 20.2
71 20.3
72 20.4
73 20.5
74 20.6
75 20.7
76 20.8
77 20.9
78 21
79 21.1
80 21.1
81 21.2
82 21.3
83 21.5
84 21.6
85 21.7
86 21.9
87 22
88 22.2
89 22.4
90 22.7
91 23
92 23.3
93 23.6
94 24
95 24.5
96 25
97 25.6
98 26.3
99 27
100 27.8
101 28.8
102 29.8
103 30.9
104 32.1
105 33.1
106 33.7
107 33.7
108 33.1
109 32
110 30.8
111 29.5
112 28.4
113 27.4
114 26.4
115 25.6
116 24.9
117 24.2
118 23.7
119 23.2
120 22.7
121 22.4
122 22.1
123 21.9
124 21.7
125 21.6
126 21.5
127 21.5
128 21.5
129 21.6
130 21.8
131 22
132 22.3
133 22.7
134 23.2
135 23.7
136 24.4
137 25.1
138 26.1
139 27.2
140 28.5
141 30.1
142 32.1
143 34.3
144 36.3
145 36.5
146 34.5
147 32.1
148 29.9
149 28.1
150 26.6
151 25.3
152 24.3
153 23.4
154 22.6
155 22
156 21.5
157 21.1
158 20.8
159 20.6
160 20.5
161 20.4
162 20.5
163 20.6
164 20.8
165 21.1
166 21.5
167 21.9
168 22.5
169 23
170 23.7
171 24.4
172 25.1
173 25.8
174 26.5
175 27.1
176 27.6
177 28.1
178 28.3
179 28.4
180 28.3
181 28.1
182 27.7
183 27.1
184 26.5
185 25.8
186 25.1
187 24.4
188 23.7
189 23
190 22.4
191 21.9
192 21.5
193 21.1
194 20.8
195 20.5
196 20.4
197 20.3
198 20.4
199 20.5
200 20.7
201 21
202 21.4
203 21.9
204 22.5
205 23.2
206 24.1
207 25.1
208 26.3
209 27.8
210 29.6
211 31.7
212 34.2
213 36.5
214 36.9
215 35.1
216 32.7
217 30.6
218 28.9
219 27.5
220 26.4
221 25.4
222 24.6
223 23.9
224 23.4
225 22.9
226 22.5
227 22.2
228 22
229 21.8
230 21.7
231 21.6
232 21.6
233 21.7
234 21.8
235 22
236 22.2
237 22.5
238 22.9
239 23.3
240 23.8
241 24.3
242 25
243 25.7
244 26.5
245 27.5
246 28.5
247 29.7
248 30.9
249 32.1
250 33.1
251 33.7
252 33.6
253 32.9
254 31.8
255 30.7
256 29.6
257 28.6
258 27.6
259 26.8
260 26.1
261 25.4
262 24.9
263 24.4
264 23.9
265 23.5
266 23.2
267 22.9
268 22.6
269 22.4
270 22.2
271 22
272 21.9
273 21.7
274 21.6
275 21.5
276 21.4
277 21.3
278 21.2
279 21.2
280 21.1
281 21
282 20.9
283 20.9
284 20.8
285 20.7
286 20.6
287 20.5
288 20.4
289 20.3
290 20.2
291 20.1
292 20.1
293 20
294 19.9
295 19.9
296 19.8
297 19.8
298 19.8
299 19.9
300 20
301 20.1
302 20.3
303 20.5
304 20.9
305 21.3
306 21.8
307 22.4
308 23.2
309 24.2
310 25.4
311 26.9
312 28.8
313 30.7
314 31.6
315 30.3
316 27.9
317 25.4
318 23.3
319 21.5
320 19.9
321 18.6
322 17.5
323 16.5
324 15.7
325 15.1
326 14.5
327 14.1
328 13.9
329 13.7
330 13.8
331 14
332 14.3
333 15
334 15.9
335 17.3
336 19.3
337 22.5
338 28.3
339 32.7
340 23.9
341 18.7
342 15.3
343 12.6
344 10.5
345 8.8
346 7.3
347 6.1
348 5
349 4
350 3.2
351 2.5
352 1.9
353 1.4
354 0.9
355 0.6
356 0.3
357 0.1
358 0
359 0