@atmosx/event-product-parser 3.0.48 → 3.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/.vscode/settings.json +3 -3
  2. package/CODE_OF_CONDUCT.md +9 -9
  3. package/CONTRIBUTING.md +29 -29
  4. package/LICENSE +17 -17
  5. package/README.md +443 -417
  6. package/SECURITY.md +20 -20
  7. package/SUPPORTED_EVENTS.md +369 -368
  8. package/dist/cjs/index.cjs +1925 -1885
  9. package/dist/esm/index.mjs +1927 -1887
  10. package/package.json +52 -52
  11. package/src/@building/building.attachments.ts +82 -82
  12. package/src/@building/building.clean.ts +29 -29
  13. package/src/@building/building.create.ts +55 -41
  14. package/src/@building/building.enhance.ts +59 -59
  15. package/src/@building/building.geometry.ts +47 -47
  16. package/src/@building/building.headers.ts +36 -36
  17. package/src/@building/building.office.ts +42 -42
  18. package/src/@building/building.polygon.ts +69 -70
  19. package/src/@building/building.properties.ts +95 -95
  20. package/src/@building/building.signature.ts +60 -61
  21. package/src/@building/building.tags.ts +23 -23
  22. package/src/@building/building.tracking.ts +67 -67
  23. package/src/@building/building.validate.ts +152 -146
  24. package/src/@core/core.clearEvents.ts +30 -31
  25. package/src/@core/core.createListener.ts +23 -23
  26. package/src/@core/core.getEvents.ts +23 -24
  27. package/src/@core/core.getNodes.ts +23 -24
  28. package/src/@core/core.getRandomEvent.ts +23 -24
  29. package/src/@core/core.getVersion.ts +23 -24
  30. package/src/@core/core.manualEvent.ts +38 -0
  31. package/src/@core/core.query.ts +38 -38
  32. package/src/@core/core.setNode.ts +80 -80
  33. package/src/@core/core.start.ts +60 -60
  34. package/src/@core/core.stop.ts +31 -31
  35. package/src/@dictionaries/dictionaries.actions.ts +27 -27
  36. package/src/@dictionaries/dictionaries.awips.ts +363 -363
  37. package/src/@dictionaries/dictionaries.cancellation.ts +30 -30
  38. package/src/@dictionaries/dictionaries.causes.ts +35 -35
  39. package/src/@dictionaries/dictionaries.correlations.ts +42 -42
  40. package/src/@dictionaries/dictionaries.enhanced.ts +66 -109
  41. package/src/@dictionaries/dictionaries.events.ts +82 -82
  42. package/src/@dictionaries/dictionaries.expressions.ts +28 -28
  43. package/src/@dictionaries/dictionaries.global.ts +24 -0
  44. package/src/@dictionaries/dictionaries.hail.ts +35 -35
  45. package/src/@dictionaries/dictionaries.icao.ts +258 -258
  46. package/src/@dictionaries/dictionaries.matches.ts +54 -35
  47. package/src/@dictionaries/dictionaries.products.ts +24 -24
  48. package/src/@dictionaries/dictionaries.records.ts +25 -25
  49. package/src/@dictionaries/dictionaries.severity.ts +27 -27
  50. package/src/@dictionaries/dictionaries.shapefiles.ts +35 -35
  51. package/src/@dictionaries/dictionaries.states.ts +71 -71
  52. package/src/@dictionaries/dictionaries.status.ts +30 -30
  53. package/src/@dictionaries/dictionaries.tags.ts +92 -92
  54. package/src/@dictionaries/dictionaries.testing.ts +24 -24
  55. package/src/@events/events.api.ts +116 -118
  56. package/src/@events/events.text.ts +84 -81
  57. package/src/@events/events.ugc.ts +89 -85
  58. package/src/@events/events.vtec.ts +86 -87
  59. package/src/@manager/manager.mkEvent.ts +97 -88
  60. package/src/@manager/manager.rmEvent.ts +56 -49
  61. package/src/@manager/manager.setHash.ts +35 -36
  62. package/src/@manager/manager.updateEvents.ts +32 -34
  63. package/src/@manager/manager.updateListener.ts +154 -159
  64. package/src/@manager/manager.updateNodes.ts +53 -54
  65. package/src/@modules/@database/database.broadcastify.ts +66 -66
  66. package/src/@modules/@database/database.cache.ts +49 -47
  67. package/src/@modules/@database/database.init.ts +58 -57
  68. package/src/@modules/@database/database.shapefiles.ts +92 -92
  69. package/src/@modules/@database/database.stanza.ts +46 -47
  70. package/src/@modules/@eas/eas.getCleanDescription.ts +91 -91
  71. package/src/@modules/@eas/eas.getFloatPCM16.ts +29 -29
  72. package/src/@modules/@eas/eas.getMergedPCM16.ts +32 -32
  73. package/src/@modules/@eas/eas.getPCM16.ts +52 -52
  74. package/src/@modules/@eas/eas.getPCMToFloat.ts +26 -26
  75. package/src/@modules/@eas/eas.getSampledPCM16.ts +36 -36
  76. package/src/@modules/@eas/eas.getTTS.ts +54 -54
  77. package/src/@modules/@eas/eas.getWavPCM16.ts +52 -52
  78. package/src/@modules/@eas/eas.setAFSK.ts +51 -52
  79. package/src/@modules/@eas/eas.setAsciiToBits.ts +31 -32
  80. package/src/@modules/@eas/eas.setAttentionTone.ts +40 -40
  81. package/src/@modules/@eas/eas.setEasTone.ts +151 -147
  82. package/src/@modules/@eas/eas.setNoise.ts +32 -31
  83. package/src/@modules/@eas/eas.setRadioEffect.ts +50 -49
  84. package/src/@modules/@eas/eas.setSameHeader.ts +44 -45
  85. package/src/@modules/@stanza/stanza.getAwipsType.ts +45 -45
  86. package/src/@modules/@stanza/stanza.validate.ts +49 -49
  87. package/src/@modules/@utilities/utilities.createHttp.ts +70 -70
  88. package/src/@modules/@utilities/utilities.getFormattedTime.ts +43 -43
  89. package/src/@modules/@utilities/utilities.getLatestIssuance.ts +32 -32
  90. package/src/@modules/@utilities/utilities.getMatched.ts +33 -0
  91. package/src/@modules/@utilities/utilities.getSettings.ts +25 -25
  92. package/src/@modules/@utilities/utilities.getShapeNearestPoint.ts +114 -114
  93. package/src/@modules/@utilities/utilities.setCronSchedule.ts +94 -94
  94. package/src/@modules/@utilities/utilities.setDebug.ts +38 -0
  95. package/src/@modules/@utilities/utilities.setEventEmit.ts +41 -41
  96. package/src/@modules/@utilities/utilities.setListener.ts +30 -30
  97. package/src/@modules/@utilities/utilities.setSettings.ts +42 -42
  98. package/src/@modules/@utilities/utilities.setSleep.ts +33 -33
  99. package/src/@modules/@utilities/utilities.setTimeoutAction.ts +62 -58
  100. package/src/@modules/@utilities/utilities.setWarning.ts +34 -34
  101. package/src/@modules/@xmpp/xmpp.xDeploy.ts +57 -58
  102. package/src/@modules/@xmpp/xmpp.xError.ts +26 -28
  103. package/src/@modules/@xmpp/xmpp.xOffline.ts +36 -37
  104. package/src/@modules/@xmpp/xmpp.xOnline.ts +45 -44
  105. package/src/@modules/@xmpp/xmpp.xReconnect.ts +64 -64
  106. package/src/@modules/@xmpp/xmpp.xStanza.ts +62 -62
  107. package/src/@parsers/@hvtec/hvtec.extract.ts +39 -39
  108. package/src/@parsers/@pvtec/pvtec.expires.ts +25 -25
  109. package/src/@parsers/@pvtec/pvtec.extract.ts +48 -48
  110. package/src/@parsers/@text/text.getDescriptionFromProduct.ts +52 -52
  111. package/src/@parsers/@text/text.getEmbed.ts +55 -57
  112. package/src/@parsers/@text/text.getPolygonFromProduct.ts +53 -32
  113. package/src/@parsers/@text/text.getTextFromProduct.ts +42 -42
  114. package/src/@parsers/@text/text.getXML.ts +60 -60
  115. package/src/@parsers/@ugc/ugc.coordinates.ts +110 -109
  116. package/src/@parsers/@ugc/ugc.expiry.ts +31 -31
  117. package/src/@parsers/@ugc/ugc.extract.ts +36 -36
  118. package/src/@parsers/@ugc/ugc.getCache.ts +24 -0
  119. package/src/@parsers/@ugc/ugc.header.ts +29 -29
  120. package/src/@parsers/@ugc/ugc.locations.ts +57 -29
  121. package/src/@parsers/@ugc/ugc.setCache.ts +28 -0
  122. package/src/@parsers/@ugc/ugc.zones.ts +51 -51
  123. package/src/@types/type.attributes.ts +28 -28
  124. package/src/@types/type.compiled.ts +34 -34
  125. package/src/@types/type.event.ts +69 -69
  126. package/src/@types/type.hash.ts +24 -24
  127. package/src/@types/type.hvtec.ts +25 -25
  128. package/src/@types/type.listener.ts +32 -32
  129. package/src/@types/type.properties.ts +77 -77
  130. package/src/@types/type.pvtec.ts +30 -30
  131. package/src/@types/type.settings.ts +84 -83
  132. package/src/@types/type.stanza.ts +37 -37
  133. package/src/@types/type.ugc.ts +24 -24
  134. package/src/bootstrap.ts +115 -112
  135. package/src/index.ts +74 -74
  136. package/test.js +92 -98
  137. package/tsconfig.json +13 -13
  138. package/tsup.config.ts +15 -15
  139. package/dist/index.d.mts +0 -299
  140. package/dist/index.d.ts +0 -299
  141. package/src/@core/core.createEvent.ts +0 -83
@@ -1,364 +1,364 @@
1
- /*
2
- _ _ _ __ __
3
- /\ | | | | (_) \ \ / /
4
- / \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
5
- / /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
6
- / ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
7
- /_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
8
- | |
9
- |_|
10
-
11
- Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
12
- Discord: https://atmosphericx-discord.scriptkitty.cafe
13
- Ko-Fi: https://ko-fi.com/k3yomi
14
- Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
15
-
16
- Internal Package: @atmosx/event-product-parser
17
-
18
- */
19
-
20
- export const dict_awips: Record<string, string> = {
21
- ABV: `rawinsonde-data-above-100-millibars`,
22
- ADA: `alarm-alert-administrative-message`,
23
- ADM: `alert-administrative-message`,
24
- ADR: `nws-administrative-message`,
25
- ADV: `space-environment-advisory`,
26
- AFD: `area-forecast-discussion`,
27
- AFM: `area-forecast-matrices`,
28
- AFP: `area-forecast-product`,
29
- AFW: `fire-weather-matrix`,
30
- AGF: `agricultural-forecast`,
31
- AGO: `agricultural-observations`,
32
- ALT: `space-environment-alert`,
33
- AQA: `air-quality-alert`,
34
- AQI: `air-quality-index-statement`,
35
- ASA: `air-stagnation-advisory`,
36
- AVA: `avalanche-watch`,
37
- AVG: `avalanche-weather-guidance`,
38
- AVW: `avalanche-warning`,
39
- AWO: `area-weather-outlook`,
40
- AWS: `area-weather-summary`,
41
- AWU: `area-weather-update`,
42
- AWW: `airport-weather-warning`,
43
- BLU: `blue-alert`,
44
- BOY: `buoy-report`,
45
- BRG: `coast-guard-observations`,
46
- BRT: `hourly-roundup-for-weather-radio`,
47
- CAE: `child-abduction-emergency`,
48
- CCF: `coded-city-forecast`,
49
- CDW: `civil-danger-warning`,
50
- CEM: `civil-emergency-message`,
51
- CF6: `monthly-daily-climate-data`,
52
- CFP: `convective-forecast-product`,
53
- CFW: `coastal-flood-warnings-watches-statements`,
54
- CGR: `coast-guard-surface-report`,
55
- CHG: `computer-hurricane-guidance`,
56
- CLA: `climatological-report-annual`,
57
- CLI: `climatological-report-daily`,
58
- CLM: `climatological-report-monthly`,
59
- CLQ: `climatological-report-quarterly`,
60
- CLS: `climatological-report-seasonal`,
61
- CLT: `climate-report`,
62
- CMM: `coded-climatological-monthly-means`,
63
- COD: `coded-analysis-and-forecasts`,
64
- CPF: `great-lakes-port-forecast`,
65
- CUR: `space-environment-products-routine`,
66
- CWA: `center-weather-advisory`,
67
- CWF: `coastal-waters-forecast`,
68
- CWS: `center-weather-statement`,
69
- DAY: `space-environment-product-daily`,
70
- DDO: `daily-dispersion-outlook`,
71
- DGT: `drought-information-statement`,
72
- DMO: `practice-demo-warning`,
73
- DSA: `unnumbered-depression-advisory`,
74
- DSM: `asos-daily-summary`,
75
- DSW: `dust-storm-warning`,
76
- EFP: `extended-forecast-3-to-5-day`,
77
- EOL: `six-to-ten-day-weather-outlook-local`,
78
- EQI: `tsunami-bulletin`,
79
- EQR: `earthquake-report`,
80
- EQW: `earthquake-warning`,
81
- ESF: `flood-potential-outlook`,
82
- ESG: `extended-streamflow-guidance`,
83
- ESP: `extended-streamflow-prediction`,
84
- ESS: `water-supply-outlook`,
85
- EVI: `evacuation-immediate`,
86
- EWW: `extreme-wind-warning`,
87
- FA0: `aviation-area-forecast-pacific`,
88
- FA1: `aviation-area-forecast-northeast`,
89
- FA2: `aviation-area-forecast-southeast`,
90
- FA3: `aviation-area-forecast-north-central`,
91
- FA4: `aviation-area-forecast-south-central`,
92
- FA5: `aviation-area-forecast-rocky-mountains`,
93
- FA6: `aviation-area-forecast-west-coast`,
94
- FA7: `aviation-area-forecast-juneau-ak`,
95
- FA8: `aviation-area-forecast-anchorage-ak`,
96
- FA9: `aviation-area-forecast-fairbanks-ak`,
97
- FD0: `winds-aloft-forecast-24hr-high-altitude`,
98
- FD1: `winds-aloft-forecast-6hr`,
99
- FD2: `winds-aloft-forecast-12hr`,
100
- FD3: `winds-aloft-forecast-24hr`,
101
- FD4: `winds-aloft-forecast`,
102
- FD5: `winds-aloft-forecast`,
103
- FD6: `winds-aloft-forecast`,
104
- FD7: `winds-aloft-forecast`,
105
- FD8: `winds-aloft-forecast-6hr-high-altitude`,
106
- FD9: `winds-aloft-forecast-12hr-high-altitude`,
107
- FDI: `fire-danger-indices`,
108
- FFA: `flash-flood-watch`,
109
- FFG: `flash-flood-guidance`,
110
- FFH: `headwater-guidance`,
111
- FFS: `flash-flood-statement`,
112
- FFW: `flash-flood-warning`,
113
- FLN: `national-flood-summary`,
114
- FLS: `flood-statement`,
115
- FLW: `flood-warning`,
116
- FOF: `upper-wind-fallout-forecast`,
117
- FRW: `fire-warning`,
118
- FSH: `marine-fisheries-service-message`,
119
- FTM: `radar-outage-notification`,
120
- FTP: `temp-pop-guidance`,
121
- FWA: `fire-weather-administrative-message`,
122
- FWD: `fire-weather-outlook-discussion`,
123
- FWF: `fire-weather-forecast`,
124
- FWL: `land-management-forecast`,
125
- FWM: `miscellaneous-fire-weather-product`,
126
- FWN: `fire-weather-notification`,
127
- FWO: `fire-weather-observation`,
128
- FWS: `fire-weather-spot-forecast`,
129
- FZL: `freezing-level-data`,
130
- GLF: `great-lakes-forecast`,
131
- GLS: `great-lakes-storm-summary`,
132
- GRE: `green`,
133
- HD1: `rfc-qpf-data-product`,
134
- HD2: `rfc-qpf-data-product`,
135
- HD3: `rfc-qpf-data-product`,
136
- HD4: `rfc-qpf-data-product`,
137
- HD7: `rfc-qpf-data-product`,
138
- HD8: `rfc-qpf-data-product`,
139
- HD9: `rfc-qpf-data-product`,
140
- HLS: `hurricane-local-statement`,
141
- HMD: `hydrometeorological-discussion`,
142
- HML: `ahps-xml-product`,
143
- HMW: `hazardous-materials-warning`,
144
- HP1: `rfc-qpf-verification-product`,
145
- HP2: `rfc-qpf-verification-product`,
146
- HP3: `rfc-qpf-verification-product`,
147
- HP4: `rfc-qpf-verification-product`,
148
- HP5: `rfc-qpf-verification-product`,
149
- HP6: `rfc-qpf-verification-product`,
150
- HP7: `rfc-qpf-verification-product`,
151
- HP8: `rfc-qpf-verification-product`,
152
- HRR: `weather-roundup`,
153
- HSF: `high-seas-forecast`,
154
- HWO: `hazardous-weather-outlook`,
155
- HWR: `hourly-weather-roundup`,
156
- HYD: `daily-hydrometeorological-products`,
157
- HYM: `monthly-hydrometeorological-product`,
158
- ICE: `ice-forecast`,
159
- IDM: `ice-drift-vectors`,
160
- INI: `administrative-message`,
161
- IOB: `ice-observation`,
162
- KPA: `keep-alive-message`,
163
- LAE: `local-area-emergency`,
164
- LCD: `preliminary-local-climatological-data`,
165
- LCO: `local-cooperative-observation`,
166
- LEW: `law-enforcement-warning`,
167
- LFP: `local-forecast`,
168
- LKE: `lake-stages`,
169
- LLS: `low-level-sounding`,
170
- LOW: `low-temperatures`,
171
- LSR: `local-storm-report`,
172
- LTG: `lightning-data`,
173
- MAN: `rawinsonde-mandatory-levels`,
174
- MAP: `mean-areal-precipitation`,
175
- MAW: `amended-marine-forecast`,
176
- MFM: `marine-forecast-matrix`,
177
- MIM: `marine-interpretation-message`,
178
- MIS: `miscellaneous-local-product`,
179
- MOB: `marine-observations`,
180
- MON: `space-environment-product-monthly`,
181
- MRP: `marine-product-techniques-development`,
182
- MSM: `asos-monthly-summary-message`,
183
- MTR: `metar-observation`,
184
- MTT: `metar-test-message`,
185
- MVF: `marine-verification-coded-message`,
186
- MWS: `marine-weather-statement`,
187
- MWW: `marine-weather-message`,
188
- NOU: `weather-reconnaissance-flights`,
189
- NOW: `short-term-forecast`,
190
- NOX: `data-management-message`,
191
- NPW: `non-precipitation-warning`,
192
- NSH: `nearshore-marine-forecast`,
193
- NUW: `nuclear-power-plant-warning`,
194
- NWR: `noaa-weather-radio-forecast`,
195
- OAV: `other-aviation-products`,
196
- OBS: `observations`,
197
- OFA: `offshore-aviation-forecast`,
198
- OFF: `offshore-forecast`,
199
- OMR: `other-marine-products`,
200
- OPU: `other-public-products`,
201
- OSO: `other-surface-observations`,
202
- OSW: `ocean-surface-winds`,
203
- OUA: `other-upper-air-data`,
204
- OZF: `zone-forecast`,
205
- PFM: `point-forecast-matrices`,
206
- PFW: `fire-weather-point-forecast-matrices`,
207
- PLS: `plain-language-ship-report`,
208
- PMD: `prognostic-meteorological-discussion`,
209
- PNS: `public-information-statement`,
210
- POE: `probability-of-exceedance`,
211
- PRB: `heat-index-forecast-tables`,
212
- PRC: `pilot-report-collective`,
213
- PRE: `preliminary-forecasts`,
214
- PSH: `post-storm-hurricane-report`,
215
- PTS: `probabilistic-outlook-points`,
216
- PWO: `public-severe-weather-outlook`,
217
- PWS: `tropical-cyclone-probabilities`,
218
- QPF: `quantitative-precipitation-forecast`,
219
- QPS: `quantitative-precipitation-statement`,
220
- RDF: `revised-digital-forecast`,
221
- REC: `recreational-report`,
222
- RER: `record-report`,
223
- RET: `eas-activation-request`,
224
- RFD: `rangeland-fire-danger-forecast`,
225
- RFI: `rfi-observation`,
226
- RFR: `route-forecast`,
227
- RFW: `red-flag-warning`,
228
- RHW: `radiological-hazard-warning`,
229
- RMT: `required-monthly-test`,
230
- RNS: `rain-information-statement`,
231
- RR1: `hydro-met-data-report-part-1`,
232
- RR2: `hydro-met-data-report-part-2`,
233
- RR3: `hydro-met-data-report-part-3`,
234
- RR4: `hydro-met-data-report-part-4`,
235
- RR5: `hydro-met-data-report-part-5`,
236
- RR6: `hydro-met-data-report-part-6`,
237
- RR7: `hydro-met-data-report-part-7`,
238
- RR8: `hydro-met-data-report-part-8`,
239
- RR9: `hydro-met-data-report-part-9`,
240
- RRA: `automated-hydrologic-observation-report`,
241
- RRM: `miscellaneous-hydrologic-data`,
242
- RRS: `hads-data`,
243
- RRY: `asos-hourly-test-message`,
244
- RSD: `daily-snotel-data`,
245
- RSM: `monthly-snotel-data`,
246
- RTP: `regional-temp-precip-table`,
247
- RVA: `river-summary`,
248
- RVD: `daily-river-forecast`,
249
- RVF: `river-forecast`,
250
- RVI: `river-ice-statement`,
251
- RVM: `miscellaneous-river-product`,
252
- RVR: `river-recreation-statement`,
253
- RVS: `river-statement`,
254
- RWR: `regional-weather-roundup`,
255
- RWS: `regional-weather-summary`,
256
- RWT: `required-weekly-test`,
257
- SAB: `special-avalanche-bulletin`,
258
- SAF: `agricultural-weather-forecast`,
259
- SAG: `snow-avalanche-guidance`,
260
- SAT: `apt-prediction`,
261
- SAW: `preliminary-notice-of-watch`,
262
- SCC: `storm-summary`,
263
- SCD: `supplementary-climatological-data`,
264
- SCN: `soil-climate-analysis-network`,
265
- SCP: `satellite-cloud-product`,
266
- SCS: `selected-cities-summary`,
267
- SDO: `supplementary-data-observation`,
268
- SDS: `special-dispersion-statement`,
269
- SEL: `severe-local-storm-watch`,
270
- SEV: `spc-watch-point-information`,
271
- SFP: `state-forecast`,
272
- SFT: `tabular-state-forecast`,
273
- SGL: `rawinsonde-significant-levels`,
274
- SHP: `surface-ship-report`,
275
- SIG: `international-sigmet`,
276
- SIM: `satellite-interpretation-message`,
277
- SLS: `severe-local-storm-outline`,
278
- SMF: `smoke-management-weather-forecast`,
279
- SMW: `special-marine-warning`,
280
- SOO: `science-operations-officer-product`,
281
- SPE: `satellite-precipitation-estimates`,
282
- SPF: `storm-strike-probability-bulletin`,
283
- SPS: `special-weather-statement`,
284
- SPW: `shelter-in-place-warning`,
285
- SQW: `snow-squall-warning`,
286
- SRD: `surf-discussion`,
287
- SRF: `surf-forecast`,
288
- SRG: `soaring-guidance`,
289
- SSM: `synoptic-surface-observation`,
290
- STA: `weather-statistical-summary`,
291
- STD: `satellite-tropical-disturbance-summary`,
292
- STO: `road-condition-report`,
293
- STP: `state-temp-precip-table`,
294
- STQ: `spot-forecast-request`,
295
- SUM: `space-weather-message`,
296
- SVR: `severe-thunderstorm-warning`,
297
- SVS: `severe-weather-statement`,
298
- SWOMCD: `mesoscale-discussion`,
299
- SWODY1: `day-1`,
300
- SWODY2: `day-2`,
301
- SWODY3: `day-3`,
302
- SWS: `state-weather-summary`,
303
- SYN: `regional-weather-synopsis`,
304
- TAF: `terminal-aerodrome-forecast`,
305
- TAP: `terminal-alerting-products`,
306
- TAV: `travelers-forecast-table`,
307
- TCA: `tropical-cyclone-advisory`,
308
- TCD: `tropical-cyclone-discussion`,
309
- TCE: `tropical-cyclone-position-estimate`,
310
- TCM: `tropical-cyclone-marine-aviation-advisory`,
311
- TCP: `public-tropical-cyclone-advisory`,
312
- TCS: `satellite-tropical-cyclone-summary`,
313
- TCU: `tropical-cyclone-update`,
314
- TCV: `tropical-cyclone-break-points`,
315
- TIB: `tsunami-bulletin`,
316
- TID: `tide-report`,
317
- TMA: `tsunami-tide-seismic-acknowledgement`,
318
- TOE: `telephone-outage-emergency`,
319
- TOR: `tornado-warning`,
320
- TPT: `temperature-precipitation-table`,
321
- TSU: `tsunami-watch`,
322
- TUV: `ultraviolet-index`,
323
- TVL: `travelers-forecast`,
324
- TWB: `transcribed-weather-broadcast`,
325
- TWD: `tropical-weather-discussion`,
326
- TWO: `tropical-weather-outlook`,
327
- TWS: `tropical-weather-summary`,
328
- URN: `aircraft-reconnaissance`,
329
- UVI: `ultraviolet-index`,
330
- VAA: `volcanic-activity-advisory`,
331
- VER: `forecast-verification-statistics`,
332
- VFT: `taf-verification-product`,
333
- VOW: `volcano-warning`,
334
- WA0: `airmet-pacific`,
335
- WA1: `airmet-northeast`,
336
- WA2: `airmet-southeast`,
337
- WA3: `airmet-north-central`,
338
- WA4: `airmet-south-central`,
339
- WA5: `airmet-rocky-mountains`,
340
- WA6: `airmet-west-coast`,
341
- WA7: `airmet-juneau-ak`,
342
- WA8: `airmet-anchorage-ak`,
343
- WA9: `airmet-fairbanks-ak`,
344
- WAR: `space-environment-warning`,
345
- WAT: `space-environment-watch`,
346
- WCN: `weather-watch-clearance-notification`,
347
- WCR: `weekly-weather-and-crop-report`,
348
- WDA: `weekly-data-for-agriculture`,
349
- WDU: `warning-decision-update`,
350
- WEK: `space-environment-product-weekly`,
351
- WOU: `watch-outline-update`,
352
- WS1: `sigmet-northeast`,
353
- WS2: `sigmet-southeast`,
354
- WS3: `sigmet-north-central`,
355
- WS4: `sigmet-south-central`,
356
- WS5: `sigmet-rocky-mountains`,
357
- WS6: `sigmet-west-coast`,
358
- WST: `tropical-cyclone-sigmet`,
359
- WSV: `volcanic-activity-sigmet`,
360
- WSW: `winter-weather-warning`,
361
- WWA: `watch-status-report`,
362
- WWP: `watch-probabilities`,
363
- ZFP: `zone-forecast-product`,
1
+ /*
2
+ _ _ _ __ __
3
+ /\ | | | | (_) \ \ / /
4
+ / \ | |_ _ __ ___ ___ ___ _ __ | |__ ___ _ __ _ ___ \ V /
5
+ / /\ \| __| '_ ` _ \ / _ \/ __| '_ \| '_ \ / _ \ '__| |/ __| > <
6
+ / ____ \ |_| | | | | | (_) \__ \ |_) | | | | __/ | | | (__ / . \
7
+ /_/ \_\__|_| |_| |_|\___/|___/ .__/|_| |_|\___|_| |_|\___/_/ \_\
8
+ | |
9
+ |_|
10
+
11
+ Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
12
+ Discord: https://atmosphericx-discord.scriptkitty.cafe
13
+ Ko-Fi: https://ko-fi.com/k3yomi
14
+ Documentation: http://localhost/documentation | https://atmosphericx.scriptkitty.cafe/documentation
15
+
16
+ Internal Package: @atmosx/event-product-parser
17
+
18
+ */
19
+
20
+ export const dict_awips: Record<string, string> = {
21
+ ABV: `rawinsonde-data-above-100-millibars`,
22
+ ADA: `alarm-alert-administrative-message`,
23
+ ADM: `alert-administrative-message`,
24
+ ADR: `nws-administrative-message`,
25
+ ADV: `space-environment-advisory`,
26
+ AFD: `area-forecast-discussion`,
27
+ AFM: `area-forecast-matrices`,
28
+ AFP: `area-forecast-product`,
29
+ AFW: `fire-weather-matrix`,
30
+ AGF: `agricultural-forecast`,
31
+ AGO: `agricultural-observations`,
32
+ ALT: `space-environment-alert`,
33
+ AQA: `air-quality-alert`,
34
+ AQI: `air-quality-index-statement`,
35
+ ASA: `air-stagnation-advisory`,
36
+ AVA: `avalanche-watch`,
37
+ AVG: `avalanche-weather-guidance`,
38
+ AVW: `avalanche-warning`,
39
+ AWO: `area-weather-outlook`,
40
+ AWS: `area-weather-summary`,
41
+ AWU: `area-weather-update`,
42
+ AWW: `airport-weather-warning`,
43
+ BLU: `blue-alert`,
44
+ BOY: `buoy-report`,
45
+ BRG: `coast-guard-observations`,
46
+ BRT: `hourly-roundup-for-weather-radio`,
47
+ CAE: `child-abduction-emergency`,
48
+ CCF: `coded-city-forecast`,
49
+ CDW: `civil-danger-warning`,
50
+ CEM: `civil-emergency-message`,
51
+ CF6: `monthly-daily-climate-data`,
52
+ CFP: `convective-forecast-product`,
53
+ CFW: `coastal-flood-warnings-watches-statements`,
54
+ CGR: `coast-guard-surface-report`,
55
+ CHG: `computer-hurricane-guidance`,
56
+ CLA: `climatological-report-annual`,
57
+ CLI: `climatological-report-daily`,
58
+ CLM: `climatological-report-monthly`,
59
+ CLQ: `climatological-report-quarterly`,
60
+ CLS: `climatological-report-seasonal`,
61
+ CLT: `climate-report`,
62
+ CMM: `coded-climatological-monthly-means`,
63
+ COD: `coded-analysis-and-forecasts`,
64
+ CPF: `great-lakes-port-forecast`,
65
+ CUR: `space-environment-products-routine`,
66
+ CWA: `center-weather-advisory`,
67
+ CWF: `coastal-waters-forecast`,
68
+ CWS: `center-weather-statement`,
69
+ DAY: `space-environment-product-daily`,
70
+ DDO: `daily-dispersion-outlook`,
71
+ DGT: `drought-information-statement`,
72
+ DMO: `practice-demo-warning`,
73
+ DSA: `unnumbered-depression-advisory`,
74
+ DSM: `asos-daily-summary`,
75
+ DSW: `dust-storm-warning`,
76
+ EFP: `extended-forecast-3-to-5-day`,
77
+ EOL: `six-to-ten-day-weather-outlook-local`,
78
+ EQI: `tsunami-bulletin`,
79
+ EQR: `earthquake-report`,
80
+ EQW: `earthquake-warning`,
81
+ ESF: `flood-potential-outlook`,
82
+ ESG: `extended-streamflow-guidance`,
83
+ ESP: `extended-streamflow-prediction`,
84
+ ESS: `water-supply-outlook`,
85
+ EVI: `evacuation-immediate`,
86
+ EWW: `extreme-wind-warning`,
87
+ FA0: `aviation-area-forecast-pacific`,
88
+ FA1: `aviation-area-forecast-northeast`,
89
+ FA2: `aviation-area-forecast-southeast`,
90
+ FA3: `aviation-area-forecast-north-central`,
91
+ FA4: `aviation-area-forecast-south-central`,
92
+ FA5: `aviation-area-forecast-rocky-mountains`,
93
+ FA6: `aviation-area-forecast-west-coast`,
94
+ FA7: `aviation-area-forecast-juneau-ak`,
95
+ FA8: `aviation-area-forecast-anchorage-ak`,
96
+ FA9: `aviation-area-forecast-fairbanks-ak`,
97
+ FD0: `winds-aloft-forecast-24hr-high-altitude`,
98
+ FD1: `winds-aloft-forecast-6hr`,
99
+ FD2: `winds-aloft-forecast-12hr`,
100
+ FD3: `winds-aloft-forecast-24hr`,
101
+ FD4: `winds-aloft-forecast`,
102
+ FD5: `winds-aloft-forecast`,
103
+ FD6: `winds-aloft-forecast`,
104
+ FD7: `winds-aloft-forecast`,
105
+ FD8: `winds-aloft-forecast-6hr-high-altitude`,
106
+ FD9: `winds-aloft-forecast-12hr-high-altitude`,
107
+ FDI: `fire-danger-indices`,
108
+ FFA: `flash-flood-watch`,
109
+ FFG: `flash-flood-guidance`,
110
+ FFH: `headwater-guidance`,
111
+ FFS: `flash-flood-statement`,
112
+ FFW: `flash-flood-warning`,
113
+ FLN: `national-flood-summary`,
114
+ FLS: `flood-statement`,
115
+ FLW: `flood-warning`,
116
+ FOF: `upper-wind-fallout-forecast`,
117
+ FRW: `fire-warning`,
118
+ FSH: `marine-fisheries-service-message`,
119
+ FTM: `radar-outage-notification`,
120
+ FTP: `temp-pop-guidance`,
121
+ FWA: `fire-weather-administrative-message`,
122
+ FWD: `fire-weather-outlook-discussion`,
123
+ FWF: `fire-weather-forecast`,
124
+ FWL: `land-management-forecast`,
125
+ FWM: `miscellaneous-fire-weather-product`,
126
+ FWN: `fire-weather-notification`,
127
+ FWO: `fire-weather-observation`,
128
+ FWS: `fire-weather-spot-forecast`,
129
+ FZL: `freezing-level-data`,
130
+ GLF: `great-lakes-forecast`,
131
+ GLS: `great-lakes-storm-summary`,
132
+ GRE: `green`,
133
+ HD1: `rfc-qpf-data-product`,
134
+ HD2: `rfc-qpf-data-product`,
135
+ HD3: `rfc-qpf-data-product`,
136
+ HD4: `rfc-qpf-data-product`,
137
+ HD7: `rfc-qpf-data-product`,
138
+ HD8: `rfc-qpf-data-product`,
139
+ HD9: `rfc-qpf-data-product`,
140
+ HLS: `hurricane-local-statement`,
141
+ HMD: `hydrometeorological-discussion`,
142
+ HML: `ahps-xml-product`,
143
+ HMW: `hazardous-materials-warning`,
144
+ HP1: `rfc-qpf-verification-product`,
145
+ HP2: `rfc-qpf-verification-product`,
146
+ HP3: `rfc-qpf-verification-product`,
147
+ HP4: `rfc-qpf-verification-product`,
148
+ HP5: `rfc-qpf-verification-product`,
149
+ HP6: `rfc-qpf-verification-product`,
150
+ HP7: `rfc-qpf-verification-product`,
151
+ HP8: `rfc-qpf-verification-product`,
152
+ HRR: `weather-roundup`,
153
+ HSF: `high-seas-forecast`,
154
+ HWO: `hazardous-weather-outlook`,
155
+ HWR: `hourly-weather-roundup`,
156
+ HYD: `daily-hydrometeorological-products`,
157
+ HYM: `monthly-hydrometeorological-product`,
158
+ ICE: `ice-forecast`,
159
+ IDM: `ice-drift-vectors`,
160
+ INI: `administrative-message`,
161
+ IOB: `ice-observation`,
162
+ KPA: `keep-alive-message`,
163
+ LAE: `local-area-emergency`,
164
+ LCD: `preliminary-local-climatological-data`,
165
+ LCO: `local-cooperative-observation`,
166
+ LEW: `law-enforcement-warning`,
167
+ LFP: `local-forecast`,
168
+ LKE: `lake-stages`,
169
+ LLS: `low-level-sounding`,
170
+ LOW: `low-temperatures`,
171
+ LSR: `local-storm-report`,
172
+ LTG: `lightning-data`,
173
+ MAN: `rawinsonde-mandatory-levels`,
174
+ MAP: `mean-areal-precipitation`,
175
+ MAW: `amended-marine-forecast`,
176
+ MFM: `marine-forecast-matrix`,
177
+ MIM: `marine-interpretation-message`,
178
+ MIS: `miscellaneous-local-product`,
179
+ MOB: `marine-observations`,
180
+ MON: `space-environment-product-monthly`,
181
+ MRP: `marine-product-techniques-development`,
182
+ MSM: `asos-monthly-summary-message`,
183
+ MTR: `metar-observation`,
184
+ MTT: `metar-test-message`,
185
+ MVF: `marine-verification-coded-message`,
186
+ MWS: `marine-weather-statement`,
187
+ MWW: `marine-weather-message`,
188
+ NOU: `weather-reconnaissance-flights`,
189
+ NOW: `short-term-forecast`,
190
+ NOX: `data-management-message`,
191
+ NPW: `non-precipitation-warning`,
192
+ NSH: `nearshore-marine-forecast`,
193
+ NUW: `nuclear-power-plant-warning`,
194
+ NWR: `noaa-weather-radio-forecast`,
195
+ OAV: `other-aviation-products`,
196
+ OBS: `observations`,
197
+ OFA: `offshore-aviation-forecast`,
198
+ OFF: `offshore-forecast`,
199
+ OMR: `other-marine-products`,
200
+ OPU: `other-public-products`,
201
+ OSO: `other-surface-observations`,
202
+ OSW: `ocean-surface-winds`,
203
+ OUA: `other-upper-air-data`,
204
+ OZF: `zone-forecast`,
205
+ PFM: `point-forecast-matrices`,
206
+ PFW: `fire-weather-point-forecast-matrices`,
207
+ PLS: `plain-language-ship-report`,
208
+ PMD: `prognostic-meteorological-discussion`,
209
+ PNS: `public-information-statement`,
210
+ POE: `probability-of-exceedance`,
211
+ PRB: `heat-index-forecast-tables`,
212
+ PRC: `pilot-report-collective`,
213
+ PRE: `preliminary-forecasts`,
214
+ PSH: `post-storm-hurricane-report`,
215
+ PTS: `probabilistic-outlook-points`,
216
+ PWO: `public-severe-weather-outlook`,
217
+ PWS: `tropical-cyclone-probabilities`,
218
+ QPF: `quantitative-precipitation-forecast`,
219
+ QPS: `quantitative-precipitation-statement`,
220
+ RDF: `revised-digital-forecast`,
221
+ REC: `recreational-report`,
222
+ RER: `record-report`,
223
+ RET: `eas-activation-request`,
224
+ RFD: `rangeland-fire-danger-forecast`,
225
+ RFI: `rfi-observation`,
226
+ RFR: `route-forecast`,
227
+ RFW: `red-flag-warning`,
228
+ RHW: `radiological-hazard-warning`,
229
+ RMT: `required-monthly-test`,
230
+ RNS: `rain-information-statement`,
231
+ RR1: `hydro-met-data-report-part-1`,
232
+ RR2: `hydro-met-data-report-part-2`,
233
+ RR3: `hydro-met-data-report-part-3`,
234
+ RR4: `hydro-met-data-report-part-4`,
235
+ RR5: `hydro-met-data-report-part-5`,
236
+ RR6: `hydro-met-data-report-part-6`,
237
+ RR7: `hydro-met-data-report-part-7`,
238
+ RR8: `hydro-met-data-report-part-8`,
239
+ RR9: `hydro-met-data-report-part-9`,
240
+ RRA: `automated-hydrologic-observation-report`,
241
+ RRM: `miscellaneous-hydrologic-data`,
242
+ RRS: `hads-data`,
243
+ RRY: `asos-hourly-test-message`,
244
+ RSD: `daily-snotel-data`,
245
+ RSM: `monthly-snotel-data`,
246
+ RTP: `regional-temp-precip-table`,
247
+ RVA: `river-summary`,
248
+ RVD: `daily-river-forecast`,
249
+ RVF: `river-forecast`,
250
+ RVI: `river-ice-statement`,
251
+ RVM: `miscellaneous-river-product`,
252
+ RVR: `river-recreation-statement`,
253
+ RVS: `river-statement`,
254
+ RWR: `regional-weather-roundup`,
255
+ RWS: `regional-weather-summary`,
256
+ RWT: `required-weekly-test`,
257
+ SAB: `special-avalanche-bulletin`,
258
+ SAF: `agricultural-weather-forecast`,
259
+ SAG: `snow-avalanche-guidance`,
260
+ SAT: `apt-prediction`,
261
+ SAW: `preliminary-notice-of-watch`,
262
+ SCC: `storm-summary`,
263
+ SCD: `supplementary-climatological-data`,
264
+ SCN: `soil-climate-analysis-network`,
265
+ SCP: `satellite-cloud-product`,
266
+ SCS: `selected-cities-summary`,
267
+ SDO: `supplementary-data-observation`,
268
+ SDS: `special-dispersion-statement`,
269
+ SEL: `severe-local-storm-watch`,
270
+ SEV: `spc-watch-point-information`,
271
+ SFP: `state-forecast`,
272
+ SFT: `tabular-state-forecast`,
273
+ SGL: `rawinsonde-significant-levels`,
274
+ SHP: `surface-ship-report`,
275
+ SIG: `international-sigmet`,
276
+ SIM: `satellite-interpretation-message`,
277
+ SLS: `severe-local-storm-outline`,
278
+ SMF: `smoke-management-weather-forecast`,
279
+ SMW: `special-marine-warning`,
280
+ SOO: `science-operations-officer-product`,
281
+ SPE: `satellite-precipitation-estimates`,
282
+ SPF: `storm-strike-probability-bulletin`,
283
+ SPS: `special-weather-statement`,
284
+ SPW: `shelter-in-place-warning`,
285
+ SQW: `snow-squall-warning`,
286
+ SRD: `surf-discussion`,
287
+ SRF: `surf-forecast`,
288
+ SRG: `soaring-guidance`,
289
+ SSM: `synoptic-surface-observation`,
290
+ STA: `weather-statistical-summary`,
291
+ STD: `satellite-tropical-disturbance-summary`,
292
+ STO: `road-condition-report`,
293
+ STP: `state-temp-precip-table`,
294
+ STQ: `spot-forecast-request`,
295
+ SUM: `space-weather-message`,
296
+ SVR: `severe-thunderstorm-warning`,
297
+ SVS: `severe-weather-statement`,
298
+ SWOMCD: `mesoscale-discussion`,
299
+ SWODY1: `SPC-day-1-outlook`,
300
+ SWODY2: `SPC-day-2-outlook`,
301
+ SWODY3: `SPC-day-3-outlook`,
302
+ SWS: `state-weather-summary`,
303
+ SYN: `regional-weather-synopsis`,
304
+ TAF: `terminal-aerodrome-forecast`,
305
+ TAP: `terminal-alerting-products`,
306
+ TAV: `travelers-forecast-table`,
307
+ TCA: `tropical-cyclone-advisory`,
308
+ TCD: `tropical-cyclone-discussion`,
309
+ TCE: `tropical-cyclone-position-estimate`,
310
+ TCM: `tropical-cyclone-marine-aviation-advisory`,
311
+ TCP: `public-tropical-cyclone-advisory`,
312
+ TCS: `satellite-tropical-cyclone-summary`,
313
+ TCU: `tropical-cyclone-update`,
314
+ TCV: `tropical-cyclone-break-points`,
315
+ TIB: `tsunami-bulletin`,
316
+ TID: `tide-report`,
317
+ TMA: `tsunami-tide-seismic-acknowledgement`,
318
+ TOE: `telephone-outage-emergency`,
319
+ TOR: `tornado-warning`,
320
+ TPT: `temperature-precipitation-table`,
321
+ TSU: `tsunami-information-statement`,
322
+ TUV: `ultraviolet-index`,
323
+ TVL: `travelers-forecast`,
324
+ TWB: `transcribed-weather-broadcast`,
325
+ TWD: `tropical-weather-discussion`,
326
+ TWO: `tropical-weather-outlook`,
327
+ TWS: `tropical-weather-summary`,
328
+ URN: `aircraft-reconnaissance`,
329
+ UVI: `ultraviolet-index`,
330
+ VAA: `volcanic-activity-advisory`,
331
+ VER: `forecast-verification-statistics`,
332
+ VFT: `taf-verification-product`,
333
+ VOW: `volcano-warning`,
334
+ WA0: `airmet-pacific`,
335
+ WA1: `airmet-northeast`,
336
+ WA2: `airmet-southeast`,
337
+ WA3: `airmet-north-central`,
338
+ WA4: `airmet-south-central`,
339
+ WA5: `airmet-rocky-mountains`,
340
+ WA6: `airmet-west-coast`,
341
+ WA7: `airmet-juneau-ak`,
342
+ WA8: `airmet-anchorage-ak`,
343
+ WA9: `airmet-fairbanks-ak`,
344
+ WAR: `space-environment-warning`,
345
+ WAT: `space-environment-watch`,
346
+ WCN: `weather-watch-clearance-notification`,
347
+ WCR: `weekly-weather-and-crop-report`,
348
+ WDA: `weekly-data-for-agriculture`,
349
+ WDU: `warning-decision-update`,
350
+ WEK: `space-environment-product-weekly`,
351
+ WOU: `watch-outline-update`,
352
+ WS1: `sigmet-northeast`,
353
+ WS2: `sigmet-southeast`,
354
+ WS3: `sigmet-north-central`,
355
+ WS4: `sigmet-south-central`,
356
+ WS5: `sigmet-rocky-mountains`,
357
+ WS6: `sigmet-west-coast`,
358
+ WST: `tropical-cyclone-sigmet`,
359
+ WSV: `volcanic-activity-sigmet`,
360
+ WSW: `winter-weather-warning`,
361
+ WWA: `watch-status-report`,
362
+ WWP: `watch-probabilities`,
363
+ ZFP: `zone-forecast-product`,
364
364
  };