towerops/priv/antennas/ubiquiti-ps5m-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 PS5M H-pol
MAKE Ubiquiti
FREQUENCY 5500
H_WIDTH 10
V_WIDTH 9
FRONT_TO_BACK 30
GAIN 25.5 dBi
TILT 0
POLARIZATION HORIZONTAL
COMMENT PowerBridge
HORIZONTAL 360
0 0.5
1 1.1
2 1.9
3 3.1
4 4.6
5 6.6
6 9.1
7 12.7
8 18.3
9 32.2
10 24.7
11 18.2
12 15.4
13 14
14 13.5
15 13.7
16 14.5
17 16
18 18.2
19 21.6
20 27.6
21 44.5
22 28.9
23 23.6
24 20.9
25 19.4
26 18.8
27 18.7
28 19.1
29 20
30 21.5
31 23.6
32 26.8
33 31.9
34 39.3
35 34.1
36 29.2
37 26.4
38 24.7
39 23.8
40 23.4
41 23.4
42 23.8
43 24.5
44 25.7
45 27.2
46 29.2
47 31.8
48 34.4
49 35.4
50 33.8
51 31.6
52 29.7
53 28.3
54 27.3
55 26.6
56 26.1
57 25.8
58 25.8
59 25.9
60 26.1
61 26.4
62 26.9
63 27.5
64 28.3
65 29.1
66 30.1
67 31.3
68 32.5
69 34
70 35.7
71 37.7
72 40
73 43
74 47.1
75 54
76 63.3
77 52.5
78 47.8
79 45.1
80 43.2
81 42
82 41
83 40.3
84 39.8
85 39.5
86 39.3
87 39.2
88 39.2
89 39.2
90 39.4
91 39.6
92 40
93 40.4
94 41
95 41.7
96 42.5
97 43.6
98 44.9
99 46.6
100 48.5
101 50.4
102 51.3
103 49.9
104 47.5
105 45.2
106 43.1
107 41.4
108 39.9
109 38.7
110 37.6
111 36.7
112 35.9
113 35.2
114 34.7
115 34.3
116 34
117 33.8
118 33.8
119 33.9
120 34.1
121 34.6
122 35.2
123 36.1
124 37.2
125 38.7
126 40.7
127 43.1
128 45.3
129 45.3
130 43.1
131 40.8
132 39
133 37.8
134 37.1
135 36.7
136 36.8
137 37.4
138 38.3
139 39.9
140 42.1
141 45.1
142 48.6
143 49
144 46
145 43.3
146 41.5
147 40.5
148 40
149 40.1
150 40.8
151 42
152 44
153 46.7
154 49.6
155 49.8
156 47.7
157 45.8
158 44.8
159 44.7
160 45.5
161 47.3
162 50.3
163 54.3
164 54.4
165 50.9
166 48.5
167 47.3
168 46.9
169 46.6
170 45.4
171 43.1
172 40.5
173 38.3
174 36.4
175 35.1
176 34.1
177 33.6
178 33.4
179 33.4
180 33.6
181 34.2
182 35.2
183 36.6
184 38.5
185 41.1
186 44.1
187 47.4
188 49.2
189 49.2
190 49
191 49.7
192 51.7
193 55.1
194 56.5
195 52.5
196 49.1
197 47.1
198 46.2
199 46.3
200 47.4
201 49.6
202 51.8
203 50.2
204 46.5
205 43.5
206 41.4
207 40.1
208 39.4
209 39.2
210 39.7
211 40.8
212 42.8
213 46
214 50.3
215 49.9
216 45.3
217 42
218 39.8
219 38.4
220 37.5
221 37.1
222 37.1
223 37.4
224 38.2
225 39.4
226 41
227 43
228 44.9
229 45.4
230 43.8
231 41.6
232 39.7
233 38.1
234 36.9
235 36
236 35.3
237 34.9
238 34.6
239 34.5
240 34.6
241 34.8
242 35.2
243 35.7
244 36.3
245 37.1
246 38.1
247 39.2
248 40.6
249 42.2
250 44.1
251 46.5
252 49.3
253 51.8
254 52.1
255 50
256 47.6
257 45.6
258 44
259 42.7
260 41.7
261 40.8
262 40.1
263 39.6
264 39.1
265 38.8
266 38.5
267 38.3
268 38.1
269 38
270 38
271 38.1
272 38.3
273 38.6
274 39
275 39.5
276 40.2
277 41.2
278 42.5
279 44.3
280 47
281 51.6
282 63
283 54.6
284 47.2
285 43
286 39.9
287 37.6
288 35.6
289 34
290 32.5
291 31.3
292 30.2
293 29.3
294 28.5
295 27.9
296 27.4
297 27
298 26.8
299 26.7
300 26.8
301 27.1
302 27.6
303 28.4
304 29.5
305 31.2
306 33.3
307 35.8
308 36.7
309 34.5
310 31.4
311 28.9
312 26.9
313 25.5
314 24.4
315 23.7
316 23.3
317 23.4
318 23.8
319 24.8
320 26.4
321 29.2
322 33.9
323 38.1
324 31.6
325 26.8
326 23.6
327 21.5
328 20
329 19.1
330 18.7
331 18.8
332 19.6
333 21
334 23.8
335 29.3
336 41
337 27.1
338 21.4
339 18.1
340 15.9
341 14.5
342 13.7
343 13.5
344 14
345 15.3
346 18.1
347 24.5
348 32.6
349 18.4
350 12.8
351 9.2
352 6.6
353 4.6
354 3.1
355 1.9
356 1.1
357 0.5
358 0.1
359 0
VERTICAL 360
0 1.3
1 2.3
2 3.8
3 5.7
4 8.3
5 12
6 17.9
7 34.3
8 22.5
9 16.8
10 14.4
11 13.3
12 13.2
13 13.9
14 15.3
15 17.8
16 21.7
17 29
18 30.5
19 23.4
20 19.9
21 18
22 17
23 16.8
24 17.2
25 18.2
26 19.8
27 22.2
28 25.1
29 26.9
30 25.4
31 22.8
32 20.7
33 19.4
34 18.5
35 18.2
36 18.2
37 18.5
38 19.2
39 20.2
40 21.4
41 22.8
42 24.2
43 24.9
44 24.9
45 24.1
46 23.1
47 22.3
48 21.6
49 21.1
50 20.8
51 20.7
52 20.9
53 21.2
54 21.6
55 22.2
56 22.9
57 23.8
58 24.7
59 25.7
60 26.8
61 27.7
62 28.5
63 29
64 29.2
65 29.1
66 28.8
67 28.4
68 28.1
69 27.7
70 27.4
71 27.1
72 26.9
73 26.8
74 26.7
75 26.6
76 26.6
77 26.6
78 26.7
79 26.8
80 26.8
81 27
82 27.1
83 27.2
84 27.3
85 27.5
86 27.6
87 27.8
88 27.9
89 28.1
90 28.2
91 28.4
92 28.6
93 28.8
94 29
95 29.2
96 29.4
97 29.6
98 29.9
99 30.2
100 30.6
101 31
102 31.4
103 31.9
104 32.5
105 33.1
106 33.8
107 34.6
108 35.3
109 36
110 36.6
111 36.9
112 36.8
113 36.4
114 35.8
115 35.1
116 34.3
117 33.6
118 33
119 32.6
120 32.3
121 32.1
122 32.1
123 32.3
124 32.7
125 33.3
126 34.1
127 35.2
128 36.5
129 38.1
130 39.5
131 40.3
132 40
133 38.9
134 37.6
135 36.6
136 35.8
137 35.4
138 35.3
139 35.6
140 36.3
141 37.5
142 39.3
143 41.9
144 45.6
145 49.5
146 48
147 44.3
148 41.8
149 40.2
150 39.4
151 39.3
152 39.8
153 40.9
154 43
155 46.4
156 53
157 66.4
158 50.8
159 46
160 43.6
161 42.4
162 42
163 42.5
164 44
165 46.8
166 52.1
167 54.5
168 47.3
169 42.7
170 39.7
171 37.5
172 36
173 34.9
174 34.1
175 33.6
176 33.4
177 33.4
178 33.4
179 33.6
180 34.1
181 34.7
182 35.7
183 37
184 38.7
185 41
186 44.2
187 49.4
188 59.6
189 54.5
190 48.4
191 45.5
192 44
193 43.5
194 43.8
195 45
196 47.4
197 52
198 61.1
199 53.2
200 47.3
201 43.9
202 41.9
203 40.7
204 40.2
205 40.2
206 41
207 42.4
208 45.1
209 49.5
210 53.2
211 47.8
212 43.2
213 40.2
214 38.2
215 36.8
216 36
217 35.5
218 35.4
219 35.7
220 36.3
221 37.2
222 38.4
223 39.6
224 40.4
225 40.2
226 39
227 37.4
228 35.9
229 34.7
230 33.7
231 32.9
232 32.4
233 32.1
234 31.9
235 31.9
236 32
237 32.3
238 32.7
239 33.2
240 33.8
241 34.5
242 35.2
243 35.8
244 36.2
245 36.4
246 36.3
247 36
248 35.5
249 34.8
250 34.2
251 33.6
252 33
253 32.4
254 31.9
255 31.5
256 31.1
257 30.8
258 30.4
259 30.1
260 29.9
261 29.7
262 29.4
263 29.2
264 29
265 28.9
266 28.7
267 28.5
268 28.4
269 28.2
270 28.1
271 27.9
272 27.8
273 27.7
274 27.6
275 27.5
276 27.4
277 27.4
278 27.3
279 27.3
280 27.4
281 27.4
282 27.5
283 27.7
284 27.9
285 28.2
286 28.4
287 28.7
288 29
289 29.1
290 29.1
291 28.8
292 28.3
293 27.6
294 26.7
295 25.7
296 24.7
297 23.8
298 22.9
299 22.2
300 21.6
301 21.1
302 20.7
303 20.5
304 20.4
305 20.6
306 20.9
307 21.5
308 22.2
309 23.2
310 24.1
311 24.9
312 24.8
313 23.9
314 22.6
315 21.1
316 19.9
317 19
318 18.3
319 18
320 18
321 18.4
322 19.3
323 20.8
324 23
325 25.9
326 28
327 25.8
328 22.5
329 20
330 18.3
331 17.2
332 16.8
333 17
334 18
335 19.8
336 23.4
337 30.6
338 29.2
339 21.8
340 17.8
341 15.4
342 13.9
343 13.2
344 13.3
345 14.3
346 16.8
347 22.4
348 34.3
349 18
350 12.1
351 8.4
352 5.8
353 3.8
354 2.4
355 1.3
356 0.6
357 0.1
358 0
359 0