atmosx-nwws-parser 1.0.2
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.
- package/LICENSE +17 -0
- package/README.md +6 -0
- package/dist/cjs/bootstrap.cjs +1009 -0
- package/dist/cjs/database.cjs +1114 -0
- package/dist/cjs/dictionaries/awips.cjs +379 -0
- package/dist/cjs/dictionaries/events.cjs +139 -0
- package/dist/cjs/dictionaries/icao.cjs +265 -0
- package/dist/cjs/dictionaries/offshore.cjs +40 -0
- package/dist/cjs/dictionaries/signatures.cjs +132 -0
- package/dist/cjs/eas.cjs +2857 -0
- package/dist/cjs/helper.cjs +3014 -0
- package/dist/cjs/parsers/events.cjs +2857 -0
- package/dist/cjs/parsers/stanza.cjs +1108 -0
- package/dist/cjs/parsers/text.cjs +1142 -0
- package/dist/cjs/parsers/types/api.cjs +2857 -0
- package/dist/cjs/parsers/types/cap.cjs +2857 -0
- package/dist/cjs/parsers/types/text.cjs +2857 -0
- package/dist/cjs/parsers/types/ugc.cjs +2857 -0
- package/dist/cjs/parsers/types/vtec.cjs +2857 -0
- package/dist/cjs/parsers/ugc.cjs +1139 -0
- package/dist/cjs/parsers/vtec.cjs +1060 -0
- package/dist/cjs/types.cjs +17 -0
- package/dist/cjs/utils.cjs +2857 -0
- package/dist/cjs/xmpp.cjs +2857 -0
- package/dist/esm/bootstrap.mjs +972 -0
- package/dist/esm/database.mjs +1079 -0
- package/dist/esm/dictionaries/awips.mjs +355 -0
- package/dist/esm/dictionaries/events.mjs +111 -0
- package/dist/esm/dictionaries/icao.mjs +241 -0
- package/dist/esm/dictionaries/offshore.mjs +16 -0
- package/dist/esm/dictionaries/signatures.mjs +106 -0
- package/dist/esm/eas.mjs +2824 -0
- package/dist/esm/helper.mjs +2974 -0
- package/dist/esm/parsers/events.mjs +2824 -0
- package/dist/esm/parsers/stanza.mjs +1072 -0
- package/dist/esm/parsers/text.mjs +1106 -0
- package/dist/esm/parsers/types/api.mjs +2824 -0
- package/dist/esm/parsers/types/cap.mjs +2824 -0
- package/dist/esm/parsers/types/text.mjs +2824 -0
- package/dist/esm/parsers/types/ugc.mjs +2824 -0
- package/dist/esm/parsers/types/vtec.mjs +2824 -0
- package/dist/esm/parsers/ugc.mjs +1104 -0
- package/dist/esm/parsers/vtec.mjs +1025 -0
- package/dist/esm/types.mjs +0 -0
- package/dist/esm/utils.mjs +2824 -0
- package/dist/esm/xmpp.mjs +2824 -0
- package/package.json +47 -0
- package/shapefiles/FireCounties.dbf +0 -0
- package/shapefiles/FireCounties.shp +0 -0
- package/shapefiles/FireZones.dbf +0 -0
- package/shapefiles/FireZones.shp +0 -0
- package/shapefiles/ForecastZones.dbf +0 -0
- package/shapefiles/ForecastZones.shp +0 -0
- package/shapefiles/Marine.dbf +0 -0
- package/shapefiles/Marine.shp +0 -0
- package/shapefiles/OffShoreZones.dbf +0 -0
- package/shapefiles/OffShoreZones.shp +0 -0
- package/shapefiles/USCounties.dbf +0 -0
- package/shapefiles/USCounties.shp +0 -0
- package/src/bootstrap.ts +171 -0
- package/src/database.ts +99 -0
- package/src/dictionaries/awips.ts +351 -0
- package/src/dictionaries/events.ts +109 -0
- package/src/dictionaries/icao.ts +237 -0
- package/src/dictionaries/offshore.ts +12 -0
- package/src/dictionaries/signatures.ts +103 -0
- package/src/eas.ts +428 -0
- package/src/helper.ts +167 -0
- package/src/parsers/events.ts +289 -0
- package/src/parsers/stanza.ts +103 -0
- package/src/parsers/text.ts +167 -0
- package/src/parsers/types/api.ts +94 -0
- package/src/parsers/types/cap.ts +89 -0
- package/src/parsers/types/text.ts +54 -0
- package/src/parsers/types/ugc.ts +85 -0
- package/src/parsers/types/vtec.ts +60 -0
- package/src/parsers/ugc.ts +148 -0
- package/src/parsers/vtec.ts +66 -0
- package/src/types.ts +187 -0
- package/src/utils.ts +216 -0
- package/src/xmpp.ts +123 -0
- package/test.js +1 -0
- package/tsconfig.json +14 -0
- package/tsup.config.ts +11 -0
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/dictionaries/awips.ts
|
|
20
|
+
var awips_exports = {};
|
|
21
|
+
__export(awips_exports, {
|
|
22
|
+
AWIPS: () => AWIPS
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(awips_exports);
|
|
25
|
+
var AWIPS = {
|
|
26
|
+
ABV: `abv`,
|
|
27
|
+
ADA: `administrative-message`,
|
|
28
|
+
ADM: `administrative-message`,
|
|
29
|
+
ADR: `administrative-message`,
|
|
30
|
+
AHD: `area-hydrological-discussion`,
|
|
31
|
+
AHONT1: `high-density-observations-usaf-noaa`,
|
|
32
|
+
AHOPA1: `high-density-observations-usaf-noaa-west-pac`,
|
|
33
|
+
AHOPN1: `high-density-observations-usaf-noaa`,
|
|
34
|
+
AFD: `area-forecast-discussion`,
|
|
35
|
+
AQA: `air-quality-alert`,
|
|
36
|
+
AQI: `ground-level-ozone-forecast`,
|
|
37
|
+
AVA: `avalanche-watch`,
|
|
38
|
+
AVW: `avalanche-warning`,
|
|
39
|
+
AWU: `area-weather-update`,
|
|
40
|
+
AVG: `avalanche-weather-guidance`,
|
|
41
|
+
AWW: `airport-weather-warning`,
|
|
42
|
+
BLU: `blue-alert`,
|
|
43
|
+
CAE: `child-abduction-emergency`,
|
|
44
|
+
CDW: `civil-danger-warning`,
|
|
45
|
+
CEM: `civil-emergency-message`,
|
|
46
|
+
CFW: `coastal-hazard-message`,
|
|
47
|
+
CGR: `coastal-weather-observations`,
|
|
48
|
+
CLI: `daily-climate-report`,
|
|
49
|
+
CLM: `monthly-climate-report`,
|
|
50
|
+
CRF: `contingency-river-forecast`,
|
|
51
|
+
CWA: `center-weather-advisory`,
|
|
52
|
+
CWF: `coastal-waters-forecast`,
|
|
53
|
+
DGT: `drought-information`,
|
|
54
|
+
DSA: `tropical-disturbance-statement`,
|
|
55
|
+
DSW: `dust-storm-warning`,
|
|
56
|
+
EQI: `earthquake-information`,
|
|
57
|
+
EQR: `earthquake-report`,
|
|
58
|
+
EQW: `earthquake-warning`,
|
|
59
|
+
ESF: `hydrologic-outlook`,
|
|
60
|
+
EVI: `evacuation-immediate`,
|
|
61
|
+
EWW: `extreme-wind-warning`,
|
|
62
|
+
FFA: `flood-watch`,
|
|
63
|
+
FFG: `flash-flood-guidance`,
|
|
64
|
+
FFGMPD: `mesoscale-precipitation-discussion`,
|
|
65
|
+
FLS: `flood-advisory`,
|
|
66
|
+
FLW: `flood-warning`,
|
|
67
|
+
FFS: `flash-flood-statement`,
|
|
68
|
+
FFW: `flash-flood-warning`,
|
|
69
|
+
MWS: `marine-weather-statement`,
|
|
70
|
+
MWW: `marine-weather-warning`,
|
|
71
|
+
NMN: `network-message-notification`,
|
|
72
|
+
NOW: `short-term-forecast`,
|
|
73
|
+
NPW: `non-convective-advisory`,
|
|
74
|
+
NSH: `nearshore-marine-forecast`,
|
|
75
|
+
NUW: `nuclear-power-plant-warning`,
|
|
76
|
+
PMDAK: `alaska-discussion`,
|
|
77
|
+
PMDCA: `tropical-discussion`,
|
|
78
|
+
PMDEPD: `extended-forecast-discussion`,
|
|
79
|
+
PMDHI: `hawaii-discussion`,
|
|
80
|
+
PMDHMD: `model-diagnostic-discussion`,
|
|
81
|
+
PMDSA: `south-america-forecast-discussion`,
|
|
82
|
+
PMDSPD: `short-range-forecast-discussion`,
|
|
83
|
+
PNS: `public-information-statement`,
|
|
84
|
+
FRW: `fire-warning`,
|
|
85
|
+
FTM: `free-text-message`,
|
|
86
|
+
FWF: `fire-weather-planning-forecast`,
|
|
87
|
+
FWA: `fire-weather-administrative-message`,
|
|
88
|
+
FWS: `fire-weather-spot-forecast`,
|
|
89
|
+
GLF: `open-lake-forecast`,
|
|
90
|
+
HCM: `hydromet-coordination-message`,
|
|
91
|
+
HMT: `hmt`,
|
|
92
|
+
HMW: `hazardous-materials-warning`,
|
|
93
|
+
HPA: `high-pollution-advisory`,
|
|
94
|
+
HLS: `hurricane-local-statement`,
|
|
95
|
+
HMD: `rainfall-and-flood-outlook-product`,
|
|
96
|
+
HSF: `high-seas-forecast`,
|
|
97
|
+
HWO: `hazardous-weather-outlook`,
|
|
98
|
+
HYD: `supplementary-temp-and-precip`,
|
|
99
|
+
LAE: `local-area-emergency`,
|
|
100
|
+
LCO: `local-cooperative-observation`,
|
|
101
|
+
LEW: `law-enforcement-warning`,
|
|
102
|
+
LSR: `local-storm-report`,
|
|
103
|
+
ICE: `ice-outlook`,
|
|
104
|
+
MIS: `meteorological-impact-statement`,
|
|
105
|
+
OAV: `other-aviation-report`,
|
|
106
|
+
OEP: `taf-collaboration-product`,
|
|
107
|
+
OFF: `offshore-waters-forecast`,
|
|
108
|
+
OMR: `other-marine-reports`,
|
|
109
|
+
OSO: `weather-roundup`,
|
|
110
|
+
PFM: `point-forecast-matrices`,
|
|
111
|
+
PSH: `post-tropical-event-report`,
|
|
112
|
+
PWO: `public-severe-weather-outlook`,
|
|
113
|
+
QPFERD: `excessive-rainfall-discussion`,
|
|
114
|
+
QPFHSD: `heavy-snow-discussion`,
|
|
115
|
+
QPS: `quantitative-precipitation-forecast`,
|
|
116
|
+
REC: `recreational-forecast`,
|
|
117
|
+
REPNT0: `recco-observations-non-tropical-cyclone`,
|
|
118
|
+
REPNT1: `recco-observations-tropical-cyclone`,
|
|
119
|
+
REPNT2: `vortex-data-message`,
|
|
120
|
+
REPNTS: `supplementary-vortex-data-message`,
|
|
121
|
+
REPNT3: `dropsonde-observations`,
|
|
122
|
+
REPPN0: `recco-observations-non-tropical-cyclone`,
|
|
123
|
+
REPPN1: `recco-observations-tropical-cyclone`,
|
|
124
|
+
REPPN2: `vortex-data-message`,
|
|
125
|
+
REPPNS: `supplementary-vortex-data-message`,
|
|
126
|
+
REPPN3: `dropsonde-observations`,
|
|
127
|
+
REPPA0: `recco-observations-west-pac-non-tropical-cyclone`,
|
|
128
|
+
REPPA1: `recco-observations-west-pac-tropical-cyclone`,
|
|
129
|
+
REPPA2: `vortex-data-message-west-pac`,
|
|
130
|
+
REPPAS: `supplementary-vortex-data-message-west-pac`,
|
|
131
|
+
REPPA3: `dropsonde-observations-west-pac`,
|
|
132
|
+
REPRPD: `weather-reconnaissance-flights`,
|
|
133
|
+
RER: `record-event-report`,
|
|
134
|
+
RFD: `grassland-fire-danger`,
|
|
135
|
+
RFW: `red-flag-warning`,
|
|
136
|
+
RHW: `radiological-hazard-warning`,
|
|
137
|
+
RRM: `rainfall-storm-total`,
|
|
138
|
+
RTP: `regional-temperature-and-precipitation`,
|
|
139
|
+
RVA: `hydrologic-summary`,
|
|
140
|
+
RVD: `river-and-lake-summary`,
|
|
141
|
+
RVF: `river-forecast`,
|
|
142
|
+
RVS: `hydrologic-statement`,
|
|
143
|
+
RWR: `weather-roundup`,
|
|
144
|
+
RWS: `regional-weather-summary`,
|
|
145
|
+
SAB: `special-avalanche-bulletin`,
|
|
146
|
+
SCC: `storm-summary`,
|
|
147
|
+
SFT: `state-forecast-tabular-product`,
|
|
148
|
+
SIG: `convective-sigment`,
|
|
149
|
+
SMF: `smoke-management-weather-forecast`,
|
|
150
|
+
SMW: `special-marine-warning`,
|
|
151
|
+
SPS: `special-weather-statement`,
|
|
152
|
+
SPW: `shelter-in-place-warning`,
|
|
153
|
+
SQW: `snow-squall-warning`,
|
|
154
|
+
SRF: `surf-zone-forecast`,
|
|
155
|
+
STF: `tabular-state-forecast`,
|
|
156
|
+
STQ: `spot-forecast-request`,
|
|
157
|
+
SVR: `severe-thunderstorm-warning`,
|
|
158
|
+
SVS: `severe-weather-statement`,
|
|
159
|
+
SWOMCD: `mesoscale-convective-discussion`,
|
|
160
|
+
TAF: `terminal-aerodrome-forecast`,
|
|
161
|
+
TCD: `tropical-cyclone-discussion`,
|
|
162
|
+
TCE: `tropical-cyclone-position-estimate`,
|
|
163
|
+
TCM: `tropical-storm-forecast`,
|
|
164
|
+
TCU: `tropical-cyclone-update`,
|
|
165
|
+
TCV: `tropical-watch-warning-local-statement`,
|
|
166
|
+
TIB: `tsunami-information-statement`,
|
|
167
|
+
TID: `tide-data`,
|
|
168
|
+
TMA: `tsunami-message-acknowledgement`,
|
|
169
|
+
TOE: `telephone-outage-emergency`,
|
|
170
|
+
TOR: `tornado-warning`,
|
|
171
|
+
TWD: `tropical-weather-discussion`,
|
|
172
|
+
TWO: `tropical-weather-outlook`,
|
|
173
|
+
VAA: `volcanic-ash-advisory`,
|
|
174
|
+
VOW: `volcano-warning`,
|
|
175
|
+
WCN: `watch-county-notification`,
|
|
176
|
+
WRK: `work-product`,
|
|
177
|
+
WSV: `volcanic-ash-sigmet`,
|
|
178
|
+
WSW: `winter-weather-message`,
|
|
179
|
+
XTEUS: `wpc-contiguous-us-daily-max-min-temps`,
|
|
180
|
+
ZFP: `zone-forecast-package`,
|
|
181
|
+
RR1: `hydro-meteorological-data-report-pt1`,
|
|
182
|
+
RR2: `hydro-meteorological-data-report-pt2`,
|
|
183
|
+
RR3: `hydro-meteorological-data-report-pt3`,
|
|
184
|
+
RR4: `hydro-meteorological-data-report-pt4`,
|
|
185
|
+
RR5: `hydro-meteorological-data-report-pt5`,
|
|
186
|
+
RR6: `hydro-meteorological-data-report-pt6`,
|
|
187
|
+
RR7: `hydro-meteorological-data-report-pt7`,
|
|
188
|
+
RR8: `hydro-meteorological-data-report-pt8`,
|
|
189
|
+
RR9: `hydro-meteorological-data-report-pt9`,
|
|
190
|
+
SFP: `state-forecast-product`,
|
|
191
|
+
AFM: `area-forecast-matrices`,
|
|
192
|
+
AAG: `aag`,
|
|
193
|
+
ADV: `adv`,
|
|
194
|
+
AFP: `afp`,
|
|
195
|
+
AFW: `afw`,
|
|
196
|
+
AGO: `ago`,
|
|
197
|
+
AIR: `air`,
|
|
198
|
+
ALG: `alg`,
|
|
199
|
+
ALT: `alt`,
|
|
200
|
+
AVD: `avd`,
|
|
201
|
+
AWO: `awo`,
|
|
202
|
+
BOY: `boy`,
|
|
203
|
+
BRT: `brt`,
|
|
204
|
+
CF6: `cf6`,
|
|
205
|
+
CFP: `cfp`,
|
|
206
|
+
CLS: `cls`,
|
|
207
|
+
CMM: `cmm`,
|
|
208
|
+
COD: `cod`,
|
|
209
|
+
CRN: `crn`,
|
|
210
|
+
CUR: `cur`,
|
|
211
|
+
CWD: `cwd`,
|
|
212
|
+
CWS: `cws`,
|
|
213
|
+
DAY: `day`,
|
|
214
|
+
DDO: `ddo`,
|
|
215
|
+
DMO: `dmo`,
|
|
216
|
+
DSM: `dsm`,
|
|
217
|
+
ECD: `ecd`,
|
|
218
|
+
EFP: `efp`,
|
|
219
|
+
EOL: `eol`,
|
|
220
|
+
EOM: `eom`,
|
|
221
|
+
ESG: `esg`,
|
|
222
|
+
ESP: `esp`,
|
|
223
|
+
ESS: `ess`,
|
|
224
|
+
ETT: `ett`,
|
|
225
|
+
FA0: `fa0`,
|
|
226
|
+
FA7: `fa7`,
|
|
227
|
+
FA8: `fa8`,
|
|
228
|
+
FA9: `fa9`,
|
|
229
|
+
FD0: `fd0`,
|
|
230
|
+
FD1: `fd1`,
|
|
231
|
+
FD3: `fd3`,
|
|
232
|
+
FD5: `fd5`,
|
|
233
|
+
FD8: `fd8`,
|
|
234
|
+
FD9: `fd9`,
|
|
235
|
+
FDI: `fdi`,
|
|
236
|
+
FFH: `ffh`,
|
|
237
|
+
FFP: `ffp`,
|
|
238
|
+
FLR: `flr`,
|
|
239
|
+
FOP: `fop`,
|
|
240
|
+
FRH: `frh`,
|
|
241
|
+
FSH: `fsh`,
|
|
242
|
+
FTP: `ftp`,
|
|
243
|
+
FWD: `fwd`,
|
|
244
|
+
FWL: `fwl`,
|
|
245
|
+
FWM: `fwm`,
|
|
246
|
+
FWN: `fwn`,
|
|
247
|
+
FWO: `fwo`,
|
|
248
|
+
FZL: `fzl`,
|
|
249
|
+
GEN: `gen`,
|
|
250
|
+
GMT: `gmt`,
|
|
251
|
+
HD0: `hd0`,
|
|
252
|
+
HD2: `hd2`,
|
|
253
|
+
HD3: `hd3`,
|
|
254
|
+
HD4: `hd4`,
|
|
255
|
+
HD6: `hd6`,
|
|
256
|
+
HD8: `hd8`,
|
|
257
|
+
HML: `hml`,
|
|
258
|
+
HWR: `hwr`,
|
|
259
|
+
LAK: `lak`,
|
|
260
|
+
LEV: `lev`,
|
|
261
|
+
LLL: `lll`,
|
|
262
|
+
HP2: `hp2`,
|
|
263
|
+
HRR: `hrr`,
|
|
264
|
+
HYM: `hym`,
|
|
265
|
+
ICO: `ico`,
|
|
266
|
+
IDM: `idm`,
|
|
267
|
+
MAN: `man`,
|
|
268
|
+
MAP: `map`,
|
|
269
|
+
MAR: `mar`,
|
|
270
|
+
MAV: `mav`,
|
|
271
|
+
MCG: `mcg`,
|
|
272
|
+
MCX: `mcx`,
|
|
273
|
+
MET: `met`,
|
|
274
|
+
MEX: `mex`,
|
|
275
|
+
MFM: `mfm`,
|
|
276
|
+
MFP: `mfp`,
|
|
277
|
+
MHF: `mhf`,
|
|
278
|
+
MME: `mme`,
|
|
279
|
+
MMG: `mmg`,
|
|
280
|
+
MRP: `mrp`,
|
|
281
|
+
MSM: `msm`,
|
|
282
|
+
MTR: `mtr`,
|
|
283
|
+
MTT: `mtt`,
|
|
284
|
+
MVF: `mvf`,
|
|
285
|
+
NWR: `nwr`,
|
|
286
|
+
OFA: `ofa`,
|
|
287
|
+
OPU: `opu`,
|
|
288
|
+
OPW: `opw`,
|
|
289
|
+
OSB: `osb`,
|
|
290
|
+
PFW: `pfw`,
|
|
291
|
+
PLS: `pls`,
|
|
292
|
+
PMD: `pmd`,
|
|
293
|
+
POE: `poe`,
|
|
294
|
+
PRB: `prb`,
|
|
295
|
+
PTS: `pts`,
|
|
296
|
+
PWS: `pws`,
|
|
297
|
+
QPF: `qpf`,
|
|
298
|
+
QPG: `qpg`,
|
|
299
|
+
RBG: `rbg`,
|
|
300
|
+
REP: `rep`,
|
|
301
|
+
RFM: `rfm`,
|
|
302
|
+
RFR: `rfr`,
|
|
303
|
+
RRA: `rra`,
|
|
304
|
+
RRS: `rrs`,
|
|
305
|
+
RRY: `rry`,
|
|
306
|
+
RRZ: `rrz`,
|
|
307
|
+
RVC: `rvc`,
|
|
308
|
+
RVG: `rvg`,
|
|
309
|
+
RVK: `rvk`,
|
|
310
|
+
RVM: `rvm`,
|
|
311
|
+
RVO: `rvo`,
|
|
312
|
+
RVR: `rvr`,
|
|
313
|
+
RVU: `rvu`,
|
|
314
|
+
SAF: `saf`,
|
|
315
|
+
SAG: `sag`,
|
|
316
|
+
SAT: `sat`,
|
|
317
|
+
SAW: `saw`,
|
|
318
|
+
SCN: `scn`,
|
|
319
|
+
SCP: `scp`,
|
|
320
|
+
SCS: `scs`,
|
|
321
|
+
SCV: `scv`,
|
|
322
|
+
SEL: `sel`,
|
|
323
|
+
SGL: `sgl`,
|
|
324
|
+
SPE: `spe`,
|
|
325
|
+
SPN: `spn`,
|
|
326
|
+
SRG: `srg`,
|
|
327
|
+
SSM: `ssm`,
|
|
328
|
+
STA: `sta`,
|
|
329
|
+
SUM: `sum`,
|
|
330
|
+
SWE: `swe`,
|
|
331
|
+
SYN: `syn`,
|
|
332
|
+
TAP: `tap`,
|
|
333
|
+
TCA: `tca`,
|
|
334
|
+
TCP: `tcp`,
|
|
335
|
+
TCS: `tcs`,
|
|
336
|
+
TPT: `tpt`,
|
|
337
|
+
TST: `tst`,
|
|
338
|
+
TSU: `tsu`,
|
|
339
|
+
TUV: `tuv`,
|
|
340
|
+
TVL: `tvl`,
|
|
341
|
+
TWS: `tws`,
|
|
342
|
+
TXT: `txt`,
|
|
343
|
+
UVI: `uvi`,
|
|
344
|
+
VFT: `vft`,
|
|
345
|
+
WA0: `wa0`,
|
|
346
|
+
WA1: `wa1`,
|
|
347
|
+
WA2: `wa2`,
|
|
348
|
+
WA3: `wa3`,
|
|
349
|
+
WA4: `wa4`,
|
|
350
|
+
WA5: `wa5`,
|
|
351
|
+
WA6: `wa6`,
|
|
352
|
+
WA7: `wa7`,
|
|
353
|
+
WA8: `wa8`,
|
|
354
|
+
WA9: `wa9`,
|
|
355
|
+
WAR: `war`,
|
|
356
|
+
WAT: `wat`,
|
|
357
|
+
WCL: `wcl`,
|
|
358
|
+
WEE: `wee`,
|
|
359
|
+
WEK: `wek`,
|
|
360
|
+
WOU: `wou`,
|
|
361
|
+
WRM: `wrm`,
|
|
362
|
+
WS1: `ws1`,
|
|
363
|
+
WS2: `ws2`,
|
|
364
|
+
WS3: `ws3`,
|
|
365
|
+
WS4: `ws4`,
|
|
366
|
+
WS5: `ws5`,
|
|
367
|
+
WS6: `ws6`,
|
|
368
|
+
WSC: `wsc`,
|
|
369
|
+
WST: `wst`,
|
|
370
|
+
WTA: `wta`,
|
|
371
|
+
WWA: `wwa`,
|
|
372
|
+
WWP: `wwp`,
|
|
373
|
+
XF0: `xf0`,
|
|
374
|
+
XOB: `xob`
|
|
375
|
+
};
|
|
376
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
377
|
+
0 && (module.exports = {
|
|
378
|
+
AWIPS
|
|
379
|
+
});
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/dictionaries/events.ts
|
|
20
|
+
var events_exports = {};
|
|
21
|
+
__export(events_exports, {
|
|
22
|
+
ACTIONS: () => ACTIONS,
|
|
23
|
+
EVENTS: () => EVENTS,
|
|
24
|
+
STATUS: () => STATUS,
|
|
25
|
+
STATUS_CORRELATIONS: () => STATUS_CORRELATIONS,
|
|
26
|
+
TYPES: () => TYPES
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(events_exports);
|
|
29
|
+
var EVENTS = {
|
|
30
|
+
"AF": "Ashfall",
|
|
31
|
+
"AS": "Air Stagnation",
|
|
32
|
+
"BH": "Beach Hazard",
|
|
33
|
+
"BW": "Brisk Wind",
|
|
34
|
+
"BZ": "Blizzard",
|
|
35
|
+
"CF": "Coastal Flood",
|
|
36
|
+
"DF": "Debris Flow",
|
|
37
|
+
"DS": "Dust Storm",
|
|
38
|
+
"EC": "Extreme Cold",
|
|
39
|
+
"EH": "Excessive Heat",
|
|
40
|
+
"XH": "Extreme Heat",
|
|
41
|
+
"EW": "Extreme Wind",
|
|
42
|
+
"FA": "Areal Flood",
|
|
43
|
+
"FF": "Flash Flood",
|
|
44
|
+
"FG": "Dense Fog",
|
|
45
|
+
"FL": "Flood",
|
|
46
|
+
"FR": "Frost",
|
|
47
|
+
"FW": "Fire Weather",
|
|
48
|
+
"FZ": "Freeze",
|
|
49
|
+
"GL": "Gale",
|
|
50
|
+
"HF": "Hurricane Force Wind",
|
|
51
|
+
"HT": "Heat",
|
|
52
|
+
"HU": "Hurricane",
|
|
53
|
+
"HW": "High Wind",
|
|
54
|
+
"HY": "Hydrologic",
|
|
55
|
+
"HZ": "Hard Freeze",
|
|
56
|
+
"IS": "Ice Storm",
|
|
57
|
+
"LE": "Lake Effect Snow",
|
|
58
|
+
"LO": "Low Water",
|
|
59
|
+
"LS": "Lakeshore Flood",
|
|
60
|
+
"LW": "Lake Wind",
|
|
61
|
+
"MA": "Special Marine",
|
|
62
|
+
"EQ": "Earthquake",
|
|
63
|
+
"MF": "Dense Fog",
|
|
64
|
+
"MH": "Ashfall",
|
|
65
|
+
"MS": "Dense Smoke",
|
|
66
|
+
"RB": "Small Craft for Rough Bar",
|
|
67
|
+
"RP": "Rip Current Risk",
|
|
68
|
+
"SC": "Small Craft",
|
|
69
|
+
"SE": "Hazardous Seas",
|
|
70
|
+
"SI": "Small Craft for Winds",
|
|
71
|
+
"SM": "Dense Smoke",
|
|
72
|
+
"SQ": "Snow Squall",
|
|
73
|
+
"SR": "Storm",
|
|
74
|
+
"SS": "Storm Surge",
|
|
75
|
+
"SU": "High Surf",
|
|
76
|
+
"SV": "Severe Thunderstorm",
|
|
77
|
+
"SW": "Small Craft for Hazardous Seas",
|
|
78
|
+
"TO": "Tornado",
|
|
79
|
+
"TR": "Tropical Storm",
|
|
80
|
+
"TS": "Tsunami",
|
|
81
|
+
"TY": "Typhoon",
|
|
82
|
+
"SP": "Special Weather",
|
|
83
|
+
"UP": "Heavy Freezing Spray",
|
|
84
|
+
"WC": "Wind Chill",
|
|
85
|
+
"WI": "Wind",
|
|
86
|
+
"WS": "Winter Storm",
|
|
87
|
+
"WW": "Winter Weather",
|
|
88
|
+
"ZF": "Freezing Fog",
|
|
89
|
+
"ZR": "Freezing Rain",
|
|
90
|
+
"ZY": "Freezing Spray"
|
|
91
|
+
};
|
|
92
|
+
var ACTIONS = {
|
|
93
|
+
"W": "Warning",
|
|
94
|
+
"F": "Forecast",
|
|
95
|
+
"A": "Watch",
|
|
96
|
+
"O": "Outlook",
|
|
97
|
+
"Y": "Advisory",
|
|
98
|
+
"N": "Synopsis",
|
|
99
|
+
"S": "Statement"
|
|
100
|
+
};
|
|
101
|
+
var STATUS = {
|
|
102
|
+
"NEW": "Issued",
|
|
103
|
+
"CON": "Updated",
|
|
104
|
+
"EXT": "Extended",
|
|
105
|
+
"EXA": "Extended",
|
|
106
|
+
"EXB": "Extended",
|
|
107
|
+
"UPG": "Upgraded",
|
|
108
|
+
"COR": "Correction",
|
|
109
|
+
"ROU": "Routine",
|
|
110
|
+
"CAN": "Cancelled",
|
|
111
|
+
"EXP": "Expired"
|
|
112
|
+
};
|
|
113
|
+
var TYPES = {
|
|
114
|
+
"O": "Operational Product",
|
|
115
|
+
"T": "Test Product",
|
|
116
|
+
"E": "Experimental Product",
|
|
117
|
+
"X": "Experimental Product (Non-Operational)"
|
|
118
|
+
};
|
|
119
|
+
var STATUS_CORRELATIONS = [
|
|
120
|
+
{ type: "Update", forward: "Updated", cancel: false },
|
|
121
|
+
{ type: "Cancel", forward: "Cancelled", cancel: true },
|
|
122
|
+
{ type: "Alert", forward: "Issued", cancel: false },
|
|
123
|
+
{ type: "Updated", forward: "Updated", cancel: false },
|
|
124
|
+
{ type: "Expired", forward: "Expired", cancel: true },
|
|
125
|
+
{ type: "Issued", forward: "Issued", cancel: false },
|
|
126
|
+
{ type: "Extended", forward: "Updated", cancel: false },
|
|
127
|
+
{ type: "Correction", forward: "Updated", cancel: false },
|
|
128
|
+
{ type: "Upgraded", forward: "Upgraded", cancel: false },
|
|
129
|
+
{ type: "Cancelled", forward: "Cancelled", cancel: true },
|
|
130
|
+
{ type: "Routine", forward: "Routine", cancel: false }
|
|
131
|
+
];
|
|
132
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
133
|
+
0 && (module.exports = {
|
|
134
|
+
ACTIONS,
|
|
135
|
+
EVENTS,
|
|
136
|
+
STATUS,
|
|
137
|
+
STATUS_CORRELATIONS,
|
|
138
|
+
TYPES
|
|
139
|
+
});
|