towerops/priv/antennas/ubiquiti-ag-2g16u.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 AG-2G16U
MAKE Ubiquiti
FREQUENCY 2500
H_WIDTH 21
V_WIDTH 27
FRONT_TO_BACK 30
GAIN 16 dBi
TILT 0
POLARIZATION VERTICAL
COMMENT AirGrid USB
HORIZONTAL 360
0 0
1 0.1
2 0.2
3 0.4
4 0.7
5 0.9
6 1.3
7 1.7
8 2.1
9 2.7
10 3.2
11 3.9
12 4.6
13 5.3
14 6.2
15 7.1
16 8
17 9.1
18 10.3
19 11.5
20 12.9
21 14.3
22 15.8
23 17.5
24 19.2
25 20.8
26 22.3
27 23.5
28 24.1
29 24.3
30 24.2
31 23.9
32 23.6
33 23.3
34 23
35 22.7
36 22.4
37 22.1
38 21.8
39 21.5
40 21.1
41 20.7
42 20.3
43 19.8
44 19.4
45 19
46 18.6
47 18.2
48 17.9
49 17.5
50 17.3
51 17
52 16.8
53 16.6
54 16.5
55 16.4
56 16.3
57 16.3
58 16.2
59 16.3
60 16.3
61 16.3
62 16.4
63 16.5
64 16.6
65 16.7
66 16.8
67 17
68 17.1
69 17.3
70 17.4
71 17.6
72 17.7
73 17.9
74 18.1
75 18.2
76 18.4
77 18.6
78 18.8
79 18.9
80 19.1
81 19.3
82 19.5
83 19.7
84 19.9
85 20.1
86 20.3
87 20.5
88 20.8
89 21
90 21.2
91 21.5
92 21.7
93 22
94 22.3
95 22.6
96 22.9
97 23.1
98 23.4
99 23.8
100 24.1
101 24.4
102 24.7
103 25
104 25.3
105 25.6
106 25.9
107 26.3
108 26.6
109 26.9
110 27.2
111 27.5
112 27.8
113 28.1
114 28.5
115 28.8
116 29.2
117 29.5
118 29.9
119 30.4
120 30.8
121 31.3
122 31.9
123 32.4
124 33
125 33.7
126 34.3
127 34.9
128 35.5
129 36
130 36.4
131 36.6
132 36.7
133 36.7
134 36.5
135 36.2
136 35.7
137 35.2
138 34.6
139 33.9
140 33.2
141 32.4
142 31.5
143 30.7
144 29.8
145 29
146 28.2
147 27.4
148 26.7
149 26.1
150 25.5
151 25
152 24.6
153 24.3
154 24
155 23.8
156 23.7
157 23.7
158 23.7
159 23.9
160 24.2
161 24.5
162 25
163 25.6
164 26.4
165 27.3
166 28.4
167 29.7
168 31.3
169 33.1
170 35.3
171 37.7
172 39.6
173 39.9
174 38.6
175 37
176 35.6
177 34.6
178 34
179 33.7
180 33.6
181 33.9
182 34.5
183 35.4
184 36.6
185 37.8
186 38.5
187 37.9
188 36.2
189 34.1
190 32.2
191 30.5
192 29.1
193 27.9
194 26.9
195 26
196 25.3
197 24.7
198 24.3
199 24
200 23.8
201 23.6
202 23.6
203 23.7
204 23.8
205 24
206 24.3
207 24.7
208 25.2
209 25.7
210 26.3
211 27
212 27.8
213 28.6
214 29.4
215 30.3
216 31.3
217 32.3
218 33.3
219 34.4
220 35.4
221 36.5
222 37.4
223 38.2
224 38.7
225 39
226 38.8
227 38.3
228 37.6
229 36.7
230 35.9
231 35
232 34.1
233 33.3
234 32.6
235 31.9
236 31.3
237 30.8
238 30.3
239 29.8
240 29.4
241 29
242 28.7
243 28.3
244 28
245 27.7
246 27.4
247 27.1
248 26.8
249 26.6
250 26.3
251 26
252 25.7
253 25.4
254 25.1
255 24.8
256 24.4
257 24.1
258 23.8
259 23.5
260 23.2
261 22.9
262 22.6
263 22.3
264 22
265 21.7
266 21.4
267 21.1
268 20.9
269 20.6
270 20.4
271 20.2
272 20
273 19.8
274 19.6
275 19.4
276 19.2
277 19
278 18.9
279 18.7
280 18.6
281 18.4
282 18.3
283 18.1
284 18
285 17.8
286 17.7
287 17.6
288 17.4
289 17.3
290 17.1
291 17
292 16.9
293 16.7
294 16.6
295 16.5
296 16.4
297 16.3
298 16.2
299 16.1
300 16.1
301 16.1
302 16.1
303 16.2
304 16.2
305 16.3
306 16.5
307 16.7
308 16.9
309 17.2
310 17.5
311 17.9
312 18.3
313 18.7
314 19.2
315 19.6
316 20.1
317 20.6
318 21.1
319 21.5
320 21.9
321 22.2
322 22.4
323 22.6
324 22.8
325 23.1
326 23.3
327 23.6
328 23.8
329 24
330 23.9
331 23.3
332 22.3
333 20.8
334 19.2
335 17.5
336 15.8
337 14.3
338 12.8
339 11.5
340 10.2
341 9
342 8
343 7
344 6.1
345 5.2
346 4.5
347 3.8
348 3.2
349 2.6
350 2.1
351 1.6
352 1.3
353 0.9
354 0.6
355 0.4
356 0.2
357 0.1
358 0
359 0
VERTICAL 360
0 0
1 0
2 0.1
3 0.2
4 0.3
5 0.4
6 0.6
7 0.8
8 1.1
9 1.3
10 1.7
11 2
12 2.4
13 2.8
14 3.3
15 3.8
16 4.3
17 4.8
18 5.4
19 6.1
20 6.8
21 7.5
22 8.3
23 9.1
24 9.9
25 10.8
26 11.8
27 12.8
28 13.9
29 15
30 16.1
31 17.3
32 18.5
33 19.7
34 20.8
35 21.7
36 22.4
37 22.9
38 23.1
39 23.1
40 22.9
41 22.6
42 22.3
43 21.9
44 21.6
45 21.3
46 21
47 20.7
48 20.5
49 20.2
50 20
51 19.8
52 19.6
53 19.5
54 19.3
55 19.1
56 19
57 18.9
58 18.7
59 18.6
60 18.6
61 18.5
62 18.4
63 18.4
64 18.3
65 18.3
66 18.3
67 18.4
68 18.4
69 18.5
70 18.5
71 18.6
72 18.7
73 18.9
74 19
75 19.2
76 19.4
77 19.6
78 19.8
79 20
80 20.2
81 20.5
82 20.8
83 21
84 21.3
85 21.6
86 21.9
87 22.2
88 22.5
89 22.8
90 23.1
91 23.4
92 23.7
93 23.9
94 24.2
95 24.5
96 24.7
97 24.9
98 25.1
99 25.3
100 25.5
101 25.7
102 25.8
103 26
104 26.1
105 26.2
106 26.3
107 26.4
108 26.5
109 26.6
110 26.7
111 26.8
112 26.9
113 27.1
114 27.2
115 27.3
116 27.5
117 27.6
118 27.8
119 28
120 28.3
121 28.6
122 28.9
123 29.2
124 29.6
125 30.1
126 30.6
127 31.1
128 31.8
129 32.5
130 33.3
131 34.2
132 35.3
133 36.5
134 37.9
135 39.7
136 41.9
137 44.8
138 49.1
139 55.8
140 53.6
141 47.6
142 43.8
143 41.1
144 39.1
145 37.4
146 36.1
147 35
148 34
149 33.1
150 32.4
151 31.8
152 31.3
153 30.9
154 30.5
155 30.2
156 30.1
157 29.9
158 29.9
159 29.9
160 30.1
161 30.2
162 30.5
163 30.8
164 31.1
165 31.5
166 31.9
167 32.3
168 32.7
169 33.1
170 33.4
171 33.6
172 33.7
173 33.8
174 33.8
175 33.8
176 33.7
177 33.7
178 33.7
179 33.7
180 33.7
181 33.6
182 33.6
183 33.5
184 33.3
185 33.1
186 32.7
187 32.3
188 31.9
189 31.4
190 31
191 30.6
192 30.2
193 29.8
194 29.5
195 29.3
196 29.2
197 29.1
198 29.1
199 29.1
200 29.3
201 29.5
202 29.8
203 30.2
204 30.7
205 31.2
206 31.9
207 32.7
208 33.6
209 34.6
210 35.8
211 37.2
212 38.9
213 41
214 43.8
215 47.8
216 55
217 58.2
218 49.4
219 44.8
220 41.8
221 39.6
222 37.8
223 36.4
224 35.1
225 34.1
226 33.2
227 32.4
228 31.7
229 31
230 30.5
231 30
232 29.6
233 29.2
234 28.9
235 28.6
236 28.4
237 28.2
238 28
239 27.9
240 27.8
241 27.7
242 27.6
243 27.6
244 27.5
245 27.5
246 27.4
247 27.4
248 27.3
249 27.3
250 27.2
251 27.1
252 27
253 26.9
254 26.7
255 26.6
256 26.4
257 26.2
258 26
259 25.7
260 25.5
261 25.2
262 24.9
263 24.6
264 24.2
265 23.9
266 23.6
267 23.2
268 22.9
269 22.5
270 22.1
271 21.8
272 21.4
273 21.1
274 20.8
275 20.4
276 20.1
277 19.8
278 19.5
279 19.2
280 19
281 18.7
282 18.5
283 18.3
284 18.1
285 17.9
286 17.8
287 17.6
288 17.5
289 17.4
290 17.3
291 17.3
292 17.2
293 17.2
294 17.2
295 17.2
296 17.3
297 17.3
298 17.4
299 17.5
300 17.6
301 17.8
302 18
303 18.1
304 18.4
305 18.6
306 18.8
307 19.1
308 19.4
309 19.7
310 20.1
311 20.5
312 20.9
313 21.3
314 21.9
315 22.4
316 23.1
317 23.9
318 24.7
319 25.7
320 26.8
321 27.8
322 28.4
323 28.3
324 27.1
325 25.4
326 23.5
327 21.7
328 19.9
329 18.3
330 16.8
331 15.5
332 14.2
333 13
334 11.9
335 10.9
336 10
337 9.1
338 8.2
339 7.4
340 6.7
341 6
342 5.4
343 4.8
344 4.2
345 3.7
346 3.2
347 2.7
348 2.3
349 1.9
350 1.6
351 1.3
352 1
353 0.8
354 0.6
355 0.4
356 0.2
357 0.1
358 0.1
359 0