towerops/priv/antennas/ubiquiti-am-5g20-90.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

727 lines
9.2 KiB
Text

AM-5G20-90
FREQUENCY 5000
GAIN (dBi) 20.3
TILT -2
COMMENT
HORIZONTAL 360
0 0
1 0
2 0
3 0.002996922
4 0.009888411
5 0.0199306
6 0.03357589
7 0.0512749
8 0.07348001
9 0.1006436
10 0.1332164
11 0.1716506
12 0.2163988
13 0.2679098
14 0.3266376
15 0.3930348
16 0.4675502
17 0.5506378
18 0.6427485
19 0.7443345
20 0.8558464
21 0.9777367
22 1.110456
23 1.254457
24 1.410191
25 1.578112
26 1.758667
27 1.952312
28 2.159296
29 2.379076
30 2.610907
31 2.854044
32 3.107738
33 3.371251
34 3.643831
35 3.924739
36 4.213226
37 4.508548
38 4.809962
39 5.116721
40 5.428083
41 5.743298
42 6.061626
43 6.382318
44 6.704632
45 7.027822
46 7.351145
47 7.673852
48 7.9952
49 8.314445
50 8.630842
51 8.943645
52 9.25211
53 9.555491
54 9.853045
55 10.14416
56 10.42879
57 10.707
58 10.97889
59 11.24453
60 11.50401
61 11.75739
62 12.00478
63 12.24625
64 12.48187
65 12.71174
66 12.93594
67 13.15453
68 13.36761
69 13.57527
70 13.77757
71 13.9746
72 14.16644
73 14.35318
74 14.53489
75 14.71166
76 14.88357
77 15.0507
78 15.21313
79 15.37094
80 15.52422
81 15.67305
82 15.8175
83 15.95766
84 16.09361
85 16.22544
86 16.35321
87 16.47702
88 16.59759
89 16.71815
90 16.85868
91 16.99923
92 17.1398
93 17.28043
94 17.42111
95 17.56186
96 17.7027
97 17.84365
98 17.98471
99 18.12631
100 18.27045
101 18.41953
102 18.57597
103 18.74218
104 18.92055
105 19.1135
106 19.32344
107 19.55277
108 19.8039
109 20.07924
110 20.37902
111 20.69476
112 21.0158
113 21.3315
114 21.63119
115 21.90423
116 22.13996
117 22.32771
118 22.45999
119 22.54185
120 22.58147
121 22.58706
122 22.56681
123 22.52891
124 22.48157
125 22.43297
126 22.39131
127 22.36479
128 22.3616
129 22.38994
130 22.458
131 22.57398
132 22.74404
133 22.9662
134 23.23646
135 23.55081
136 23.90524
137 24.29574
138 24.71831
139 25.16894
140 25.64361
141 26.13832
142 26.64906
143 27.17183
144 27.70262
145 28.23741
146 28.24453
147 28.25165
148 28.25877
149 28.26589
150 28.27301
151 28.28013
152 28.28725
153 28.29437
154 28.30149
155 28.30861
156 28.31573
157 28.32285
158 28.32998
159 28.3371
160 28.34422
161 28.35134
162 28.35846
163 28.36558
164 28.3727
165 28.37982
166 28.38694
167 28.39406
168 28.40118
169 28.4083
170 28.41542
171 28.42254
172 28.42966
173 28.43678
174 28.4439
175 28.45102
176 28.45814
177 28.46526
178 28.47239
179 28.47951
180 28.48663
181 28.49375
182 28.50087
183 28.50799
184 28.51511
185 28.52223
186 28.52935
187 28.53647
188 28.54359
189 28.55071
190 28.55783
191 28.56495
192 28.57207
193 28.57919
194 28.58631
195 28.59343
196 28.60055
197 28.60767
198 28.61479
199 28.62191
200 28.62903
201 28.63615
202 28.64327
203 28.6504
204 28.65752
205 28.66464
206 28.67176
207 28.67888
208 28.686
209 28.69312
210 28.70024
211 28.70736
212 28.71448
213 28.7216
214 28.72872
215 28.07102
216 27.41937
217 26.77984
218 26.15848
219 25.56136
220 24.99452
221 24.46403
222 23.97595
223 23.53633
224 23.15124
225 22.82672
226 22.56884
227 22.38104
228 22.25629
229 22.18497
230 22.15741
231 22.164
232 22.19508
233 22.24103
234 22.29219
235 22.33893
236 22.37161
237 22.38059
238 22.35623
239 22.29111
240 22.18668
241 22.04659
242 21.8745
243 21.67408
244 21.44898
245 21.20287
246 20.93941
247 20.66226
248 20.37508
249 20.08154
250 19.78528
251 19.48998
252 19.19929
253 18.91688
254 18.6464
255 18.39153
256 18.1559
257 17.9432
258 17.756
259 17.59253
260 17.44995
261 17.32541
262 17.21605
263 17.11905
264 17.03155
265 16.95071
266 16.87367
267 16.79759
268 16.71962
269 16.63693
270 16.54665
271 16.44652
272 16.33654
273 16.21729
274 16.08935
275 15.9533
276 15.80971
277 15.65916
278 15.50223
279 15.3395
280 15.17155
281 14.99896
282 14.82229
283 14.64214
284 14.45907
285 14.27367
286 14.08652
287 13.89794
288 13.70728
289 13.51363
290 13.31608
291 13.11374
292 12.90569
293 12.69103
294 12.46885
295 12.23825
296 11.99833
297 11.74817
298 11.48716
299 11.21578
300 10.93484
301 10.64511
302 10.34738
303 10.04243
304 9.731033
305 9.413988
306 9.092072
307 8.766068
308 8.436764
309 8.104939
310 7.771379
311 7.436864
312 7.102182
313 6.768115
314 6.435446
315 6.104958
316 5.777435
317 5.45366
318 5.13442
319 4.820495
320 4.512668
321 4.211724
322 3.918448
323 3.633623
324 3.358029
325 3.092453
326 2.837679
327 2.594486
328 2.363665
329 2.145993
330 1.942048
331 1.751572
332 1.574101
333 1.409168
334 1.256311
335 1.11506
336 0.9849519
337 0.8655238
338 0.7563061
339 0.6568354
340 0.5666488
341 0.485276
342 0.4122555
343 0.3471208
344 0.2894068
345 0.2386487
346 0.1943797
347 0.156135
348 0.1234514
349 0.09586036
350 0.07289886
351 0.05410016
352 0.03899932
353 0.02713144
354 0.0180316
355 0.01123309
356 0.006272793
357 0.002683997
358 0
359 0
VERTICAL 360
0 6.544252
1 9.968787
2 13.80144
3 17.94019
4 22.283
5 26.72784
6 23.50312
7 20.4345
8 17.67807
9 15.38995
10 13.72622
11 12.80397
12 12.58416
13 12.98876
14 13.93971
15 15.35895
16 17.16845
17 19.29014
18 21.64599
19 24.15793
20 26.74793
21 20.70662
22 16.26959
23 15.04112
24 18.62549
25 27.29008
26 25.37686
27 23.53959
28 21.8542
29 20.39664
30 19.24285
31 18.46877
32 18.15036
33 18.36354
34 19.18427
35 20.68848
36 22.89728
37 25.61236
38 28.58059
39 28.31779
40 28.0575
41 27.8022
42 27.55441
43 27.31663
44 27.09134
45 26.88107
46 26.6883
47 26.51554
48 26.36528
49 26.24004
50 26.14231
51 26.07459
52 26.03938
53 26.03841
54 26.07026
55 26.13274
56 26.22368
57 26.34088
58 26.48214
59 26.64529
60 26.82814
61 27.02849
62 27.24417
63 27.47297
64 27.71271
65 27.96121
66 28.21627
67 28.47571
68 28.73734
69 28.82593
70 28.91452
71 29.00311
72 29.09169
73 29.18028
74 29.26887
75 29.35746
76 29.44605
77 29.53464
78 29.62322
79 29.7051
80 29.78698
81 29.86886
82 29.95074
83 30
84 30
85 30
86 30
87 30
88 30
89 30
90 30
91 30
92 30
93 30
94 30
95 30
96 30
97 30
98 30
99 30
100 30
101 30
102 30
103 30
104 30
105 30
106 30
107 30
108 30
109 30
110 30
111 30
112 30
113 30
114 30
115 30
116 30
117 30
118 30
119 30
120 30
121 30
122 30
123 30
124 30
125 30
126 30
127 30
128 30
129 30
130 30
131 30
132 30
133 30
134 30
135 30
136 30
137 30
138 30
139 30
140 30
141 30
142 30
143 30
144 30
145 30
146 30
147 30
148 30
149 30
150 30
151 30
152 30
153 30
154 30
155 30
156 30
157 30
158 30
159 30
160 29.99602
161 29.98731
162 29.9786
163 29.96989
164 29.96118
165 29.95247
166 29.94375
167 29.93504
168 29.92633
169 29.91762
170 29.90891
171 29.9002
172 29.89149
173 29.88278
174 29.87407
175 29.86536
176 29.85665
177 29.84794
178 29.83923
179 29.83052
180 29.82181
181 29.8131
182 29.80438
183 29.79567
184 29.78696
185 29.77825
186 29.76954
187 29.76083
188 29.75212
189 29.74341
190 29.7347
191 29.72599
192 29.71728
193 29.70857
194 29.69986
195 29.69115
196 29.68244
197 29.67373
198 29.66501
199 29.6563
200 29.64759
201 29.63888
202 29.63017
203 29.62146
204 29.61275
205 29.60404
206 29.59533
207 29.58662
208 29.57791
209 29.5692
210 29.56049
211 29.55178
212 29.54307
213 29.53436
214 29.52564
215 29.51693
216 29.50822
217 29.49951
218 29.4908
219 29.48209
220 29.47338
221 29.46467
222 29.45596
223 29.44725
224 29.43854
225 29.42983
226 29.42112
227 29.41241
228 29.4037
229 29.39499
230 29.38627
231 29.37756
232 29.36885
233 29.36014
234 29.35143
235 29.34272
236 29.33401
237 29.3253
238 29.31659
239 29.30788
240 29.29917
241 29.29046
242 29.28175
243 29.27304
244 29.26433
245 29.25562
246 29.2469
247 29.23819
248 29.22948
249 29.22077
250 29.21206
251 29.20335
252 29.19464
253 29.18593
254 29.17722
255 29.16851
256 29.1598
257 29.15109
258 29.14238
259 29.13367
260 29.12496
261 29.11625
262 29.10753
263 29.09882
264 29.09011
265 29.0814
266 29.07269
267 29.06398
268 29.05527
269 29.04656
270 29.03785
271 29.02914
272 29.02043
273 29.01172
274 29.00301
275 28.9943
276 28.98559
277 28.97688
278 28.96816
279 28.95945
280 28.95074
281 28.94203
282 28.92444
283 28.90685
284 28.88926
285 28.87167
286 28.85408
287 28.83649
288 28.8189
289 28.80132
290 28.78373
291 28.76614
292 28.74854
293 28.73096
294 28.71337
295 28.69578
296 28.67819
297 28.39654
298 28.11489
299 27.83325
300 27.5516
301 27.26995
302 26.9883
303 26.70666
304 26.42501
305 26.14336
306 25.86172
307 25.58007
308 24.70844
309 23.91756
310 23.2882
311 22.90112
312 22.83708
313 23.15216
314 23.80374
315 24.72452
316 25.84719
317 27.10447
318 28.42904
319 28.35423
320 28.27942
321 28.20461
322 28.1298
323 28.05499
324 27.98018
325 27.90536
326 27.83055
327 27.75574
328 27.68093
329 25.72359
330 23.86753
331 22.21403
332 20.86436
333 19.91982
334 19.45541
335 19.44113
336 19.82072
337 20.53791
338 21.53643
339 22.76001
340 24.1524
341 25.65731
342 27.21849
343 19.56583
344 14.22544
345 11.37519
346 10.65934
347 11.72216
348 14.20791
349 17.76087
350 22.02529
351 26.64545
352 19.34327
353 12.53436
354 6.711996
355 2.369451
356 0
357 0
358 1.327668
359 3.629869