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