@atmosx/event-product-parser 3.0.4 → 3.0.7
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/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +1 -1
- package/.github/SUPPORTED_EVENTS.md +370 -0
- package/.github/docs/docs-functions.md +30 -0
- package/.github/docs/docs-general-configurations.md +199 -0
- package/.github/docs/docs-integrations.md +38 -0
- package/.github/docs/docs-listeners.md +28 -0
- package/.github/docs/docs-source-configuration.md +218 -0
- package/.github/docs/docs-technical.md +50 -0
- package/.github/logo.png +0 -0
- package/.github/samples/SAMPLE_EAS_GENERATION.wav +0 -0
- package/.github/samples/SAMPLE_GEOJSON.json +204 -0
- package/.github/samples/SAMPLE_TEXT_PRODUCT.txt +119 -0
- package/README.md +157 -337
- package/dist/cjs/index.cjs +24125 -15815
- package/dist/esm/index.mjs +24144 -15839
- package/package.json +56 -53
- package/pnpm-workspace.yaml +4 -0
- package/src/bootstrap.ts +83 -43
- package/src/building/CreateEvent.ts +54 -0
- package/src/{@building/building.clean.ts → building/GetCleanedEvent.ts} +4 -4
- package/src/building/GetEventAttachments.ts +88 -0
- package/src/building/GetEventDirection.ts +28 -0
- package/src/{@building/building.enhance.ts → building/GetEventEnhancedName.ts} +13 -17
- package/src/{@building/building.geometry.ts → building/GetEventGeometry.ts} +19 -13
- package/src/{@building/building.headers.ts → building/GetEventHeader.ts} +13 -13
- package/src/{@building/building.polygon.ts → building/GetEventNodes.ts} +26 -22
- package/src/{@building/building.office.ts → building/GetEventOffice.ts} +14 -14
- package/src/building/GetEventProperties.ts +105 -0
- package/src/{@building/building.signature.ts → building/GetEventSignature.ts} +16 -17
- package/src/{@core/core.createListener.ts → building/GetEventTags.ts} +11 -6
- package/src/building/GetEventTheme.ts +26 -0
- package/src/building/GetEventTracking.ts +64 -0
- package/src/components/audio/GenerateAudioMessage.ts +149 -0
- package/src/components/audio/components/GetCleanDescription.ts +91 -0
- package/src/{@modules/@eas/eas.getFloatPCM16.ts → components/audio/components/GetFloatPCM16.ts} +3 -3
- package/src/{@modules/@eas/eas.getMergedPCM16.ts → components/audio/components/GetMergedPCM16.ts} +3 -3
- package/src/{@modules/@eas/eas.getPCM16.ts → components/audio/components/GetPCM16.ts} +13 -8
- package/src/{@modules/@eas/eas.getPCMToFloat.ts → components/audio/components/GetPCMToFloat.ts} +3 -3
- package/src/{@modules/@eas/eas.getSampledPCM16.ts → components/audio/components/GetSampledPCM16.ts} +14 -8
- package/src/components/audio/components/GetTTS.ts +61 -0
- package/src/{@modules/@eas/eas.getWavPCM16.ts → components/audio/components/GetWavPCM16.ts} +8 -8
- package/src/{@modules/@eas/eas.setAFSK.ts → components/audio/components/SetAFSK.ts} +12 -8
- package/src/{@modules/@eas/eas.setAsciiToBits.ts → components/audio/components/SetAsciiToBits.ts} +3 -4
- package/src/{@modules/@eas/eas.setAttentionTone.ts → components/audio/components/SetAttentionTone.ts} +11 -6
- package/src/{@modules/@eas/eas.setNoise.ts → components/audio/components/SetNoise.ts} +14 -8
- package/src/{@modules/@eas/eas.setRadioEffect.ts → components/audio/components/SetRadioEffect.ts} +14 -8
- package/src/{@modules/@eas/eas.setSameHeader.ts → components/audio/components/SetSameHeader.ts} +22 -15
- package/src/{@modules/@utilities/utilities.setWarning.ts → components/database/CreateQuery.ts} +18 -13
- package/src/{@modules/@database/database.cache.ts → components/database/GetCachedEvents.ts} +19 -14
- package/src/components/database/ImportBoundaries.ts +168 -0
- package/src/components/database/ImportBroadcastify.ts +60 -0
- package/src/components/database/ImportCities.ts +87 -0
- package/src/{@modules/@database/database.shapefiles.ts → components/database/ImportShapefiles.ts} +31 -37
- package/src/components/database/ImportStanza.ts +43 -0
- package/src/components/database/InitializeDatabase.ts +71 -0
- package/src/components/images/GenerateGraphic.ts +234 -0
- package/src/components/images/components/CreateRectangle.ts +22 -0
- package/src/components/images/components/CreateText.ts +22 -0
- package/src/components/images/modules/CreateSVG.ts +37 -0
- package/src/components/images/modules/GetGeographicalBoundaries.ts +72 -0
- package/src/components/images/modules/GetGeographicalCities.ts +58 -0
- package/src/components/images/modules/GetGeographicalEvents.ts +48 -0
- package/src/components/images/modules/GetGeometryBounds.ts +82 -0
- package/src/components/images/modules/GetParsedBoundary.ts +58 -0
- package/src/components/images/modules/GetSVGPath.ts +53 -0
- package/src/components/images/modules/NormalizePolygon.ts +57 -0
- package/src/{@modules/@stanza/stanza.getAwipsType.ts → components/stanza/GetAwipsType.ts} +19 -18
- package/src/components/stanza/ValidateStanza.ts +62 -0
- package/src/components/utilities/CreateHttp.ts +83 -0
- package/src/{@modules/@utilities/utilities.getFormattedTime.ts → components/utilities/GetFormattedTime.ts} +3 -3
- package/src/components/utilities/GetLatestIssuance.ts +32 -0
- package/src/components/utilities/GetMatched.ts +38 -0
- package/src/{@modules/@utilities/utilities.getShapeNearestPoint.ts → components/utilities/GetShapeNearestPoint.ts} +24 -19
- package/src/components/utilities/GetUnionPolygon.ts +36 -0
- package/src/components/utilities/QueueManager.ts +70 -0
- package/src/components/utilities/SetCronSchedule.ts +98 -0
- package/src/{@core/core.clearEvents.ts → components/utilities/SetDebug.ts} +17 -12
- package/src/components/utilities/SetEventEmit.ts +42 -0
- package/src/{@modules/@utilities/utilities.setSettings.ts → components/utilities/SetSettings.ts} +7 -7
- package/src/{@modules/@utilities/utilities.setSleep.ts → components/utilities/SetSleep.ts} +5 -5
- package/src/components/utilities/SetTimeoutAction.ts +64 -0
- package/src/components/utilities/SetWarning.ts +47 -0
- package/src/{@modules/@xmpp/xmpp.xDeploy.ts → components/xmpp/DeployXMPP.ts} +26 -27
- package/src/components/xmpp/ErrorXMPP.ts +27 -0
- package/src/{@modules/@xmpp/xmpp.xError.ts → components/xmpp/OfflineXMPP.ts} +17 -9
- package/src/{@modules/@xmpp/xmpp.xOnline.ts → components/xmpp/OnlineXMPP.ts} +21 -20
- package/src/components/xmpp/ReconnectXMPP.ts +64 -0
- package/src/components/xmpp/StanzaXMPP.ts +63 -0
- package/src/{@building/building.tags.ts → core/ClearEvents.ts} +12 -5
- package/src/{@core/core.getVersion.ts → core/GetEvents.ts} +5 -6
- package/src/core/GetNodes.ts +24 -0
- package/src/{@core/core.getNodes.ts → core/GetRandomEvent.ts} +5 -6
- package/src/core/GetVersion.ts +24 -0
- package/src/core/ManualEvent.ts +55 -0
- package/src/core/QueryStanza.ts +40 -0
- package/src/core/SetNode.ts +87 -0
- package/src/core/StartService.ts +62 -0
- package/src/core/StopService.ts +32 -0
- package/src/enums/AWIPS.ts +366 -0
- package/src/{@dictionaries/dictionaries.eventActions.ts → enums/Actions.ts} +3 -3
- package/src/{@dictionaries/dictionaries.eventCancelMessages.ts → enums/Cancellation.ts} +4 -3
- package/src/{@dictionaries/dictionaries.eventCauses.ts → enums/Causes.ts} +3 -3
- package/src/{@dictionaries/dictionaries.statusCorrelationText.ts → enums/Correlations.ts} +3 -3
- package/src/enums/Enhanced.ts +70 -0
- package/src/{@dictionaries/dictionaries.eventTypes.ts → enums/Events.ts} +3 -3
- package/src/{@dictionaries/dictionaries.regExp.ts → enums/Expressions.ts} +5 -4
- package/src/{@core/core.getEvents.ts → enums/GlobalFilter.ts} +7 -8
- package/src/{@dictionaries/dictionaries.hailStrings.ts → enums/Hail.ts} +9 -4
- package/src/{@dictionaries/dictionaries.officeICAOs.ts → enums/ICAO.ts} +5 -3
- package/src/enums/Matches.ts +60 -0
- package/src/{@dictionaries/dictionaries.eventProducts.ts → enums/Products.ts} +3 -3
- package/src/{@dictionaries/dictionaries.eventRecords.ts → enums/Records.ts} +3 -3
- package/src/{@dictionaries/dictionaries.eventSeverity.ts → enums/Severity.ts} +3 -3
- package/src/{@dictionaries/dictionaries.shapefileLinks.ts → enums/Shapefiles.ts} +3 -3
- package/src/enums/States.ts +136 -0
- package/src/{@dictionaries/dictionaries.eventStatus.ts → enums/Status.ts} +3 -3
- package/src/enums/Strings.ts +22 -0
- package/src/enums/Tags.ts +172 -0
- package/src/{@dictionaries/dictionaries.testSignatures.ts → enums/Testing.ts} +5 -4
- package/src/enums/Themes.ts +70 -0
- package/src/events/ParseAPI.ts +129 -0
- package/src/{@events/events.text.ts → events/ParseText.ts} +32 -23
- package/src/{@events/events.ugc.ts → events/ParseUGC.ts} +36 -26
- package/src/events/ParseVTEC.ts +88 -0
- package/src/index.ts +60 -38
- package/src/manager/MakeEvents.ts +110 -0
- package/src/manager/RemoveEvent.ts +74 -0
- package/src/{@manager/manager.setHash.ts → manager/SetHash.ts} +19 -15
- package/src/manager/UpdateEvents.ts +35 -0
- package/src/manager/UpdateNode.ts +62 -0
- package/src/manager/ValidateEvents.ts +144 -0
- package/src/{@parsers/@hvtec/hvtec.extract.ts → parsers/hvtec/HVExtract.ts} +13 -13
- package/src/parsers/text/GetDescriptionFromProduct.ts +59 -0
- package/src/parsers/text/GetEmbededText.ts +57 -0
- package/src/parsers/text/GetPolygonFromProduct.ts +71 -0
- package/src/parsers/text/GetStringText.ts +58 -0
- package/src/{@parsers/@text/text.getTextFromProduct.ts → parsers/text/GetTextFromProduct.ts} +12 -12
- package/src/parsers/ugc/GetCache.ts +24 -0
- package/src/{@parsers/@ugc/ugc.expiry.ts → parsers/ugc/GetExpiry.ts} +3 -3
- package/src/{@parsers/@ugc/ugc.header.ts → parsers/ugc/GetHeader.ts} +6 -6
- package/src/parsers/ugc/GetLocations.ts +57 -0
- package/src/parsers/ugc/GetZonePolygon.ts +73 -0
- package/src/{@parsers/@ugc/ugc.zones.ts → parsers/ugc/GetZones.ts} +3 -3
- package/src/{@modules/@utilities/utilities.setListener.ts → parsers/ugc/SetCache.ts} +13 -10
- package/src/{@parsers/@ugc/ugc.extract.ts → parsers/ugc/UGCExtract.ts} +15 -15
- package/src/{@parsers/@pvtec/pvtec.expires.ts → parsers/vtec/GetExpiry.ts} +3 -3
- package/src/parsers/vtec/VTECExtract.ts +49 -0
- package/src/{@types/types.attributes.ts → static/Attributes.ts} +2 -3
- package/src/{@types/type.event.ts → static/Event.ts} +11 -8
- package/src/{@types/type.properties.ts → static/Properties.ts} +17 -10
- package/src/{@types/types.stanza.ts → static/Stanza.ts} +2 -2
- package/src/tasks/CreateTasks.ts +123 -0
- package/src/{@core/core.stop.ts → tasks/TaskGenerateJSON.ts} +14 -12
- package/src/tasks/TaskGenerateText.ts +34 -0
- package/src/tasks/TaskSendNTFY.ts +97 -0
- package/src/tasks/TaskSendWebhook.ts +107 -0
- package/src/types/Actions.ts +37 -0
- package/src/{@types/types.hvtec.ts → types/HVTEC.ts} +6 -6
- package/src/{@types/types.hash.ts → types/Hash.ts} +5 -5
- package/src/types/Nodes.ts +29 -0
- package/src/{@types/types.settings.ts → types/Settings.ts} +42 -10
- package/src/{@types/types.compiled.ts → types/StanzaCompiled.ts} +15 -14
- package/src/{@types/types.ugc.ts → types/UGC.ts} +5 -5
- package/src/{@modules/@utilities/utilities.getSettings.ts → types/VTEC.ts} +12 -7
- package/tools/build.js +47 -0
- package/tsconfig.json +28 -1
- package/dist/index.d.mts +0 -239
- package/dist/index.d.ts +0 -239
- package/src/@building/building.create.ts +0 -42
- package/src/@building/building.properties.ts +0 -89
- package/src/@building/building.tracking.ts +0 -68
- package/src/@building/building.validate.ts +0 -147
- package/src/@core/core.getRandomEvent.ts +0 -25
- package/src/@core/core.setNode.ts +0 -81
- package/src/@core/core.start.ts +0 -61
- package/src/@dictionaries/dictionaries.betterEventNames.ts +0 -99
- package/src/@dictionaries/dictionaries.eventAwipAbreviations.ts +0 -364
- package/src/@dictionaries/dictionaries.eventTags.ts +0 -93
- package/src/@dictionaries/dictionaries.eventsMatchText.ts +0 -36
- package/src/@dictionaries/dictionaries.transcribedMessageReplacements.ts +0 -68
- package/src/@events/events.api.ts +0 -113
- package/src/@events/events.vtec.ts +0 -87
- package/src/@manager/manager.mkEvent.ts +0 -96
- package/src/@manager/manager.rmEvent.ts +0 -49
- package/src/@manager/manager.updateEvents.ts +0 -35
- package/src/@manager/manager.updateNodes.ts +0 -55
- package/src/@manager/manager.updateWebhooks.ts +0 -50
- package/src/@modules/@database/database.init.ts +0 -45
- package/src/@modules/@database/database.stanza.ts +0 -48
- package/src/@modules/@eas/eas.setEasTone.ts +0 -137
- package/src/@modules/@stanza/stanza.validate.ts +0 -50
- package/src/@modules/@utilities/utilities.createHttp.ts +0 -85
- package/src/@modules/@utilities/utilities.createWebhook.ts +0 -115
- package/src/@modules/@utilities/utilities.setCronSchedule.ts +0 -65
- package/src/@modules/@utilities/utilities.setEventEmit.ts +0 -41
- package/src/@modules/@utilities/utilities.setTimeoutAction.ts +0 -59
- package/src/@modules/@xmpp/xmpp.xOffline.ts +0 -38
- package/src/@modules/@xmpp/xmpp.xReconnect.ts +0 -64
- package/src/@modules/@xmpp/xmpp.xStanza.ts +0 -63
- package/src/@parsers/@pvtec/pvtec.extract.ts +0 -49
- package/src/@parsers/@text/text.getDescriptionFromProduct.ts +0 -53
- package/src/@parsers/@text/text.getPolygonFromProduct.ts +0 -32
- package/src/@parsers/@text/text.getXML.ts +0 -61
- package/src/@parsers/@ugc/ugc.coordinates.ts +0 -110
- package/src/@parsers/@ugc/ugc.locations.ts +0 -29
- package/src/@types/types.pvtec.ts +0 -30
- package/src/@types/types.webhook.ts +0 -27
- package/test.js +0 -91
- package/tsup.config.ts +0 -16
- /package/{CODE_OF_CONDUCT.md → .github/CODE_OF_CONDUCT.md} +0 -0
- /package/{LICENSE → .github/LICENSE} +0 -0
- /package/{SECURITY.md → .github/SECURITY.md} +0 -0
|
@@ -0,0 +1,366 @@
|
|
|
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: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
+
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
|
+
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
export const EnumAWIPS: 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, and 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 (24-Hour High Altitude)`,
|
|
98
|
+
FD1: `Winds Aloft Forecast (6-Hour)`,
|
|
99
|
+
FD2: `Winds Aloft Forecast (12-Hour)`,
|
|
100
|
+
FD3: `Winds Aloft Forecast (24-Hour)`,
|
|
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 (6-Hour High Altitude)`,
|
|
106
|
+
FD9: `Winds Aloft Forecast (12-Hour 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
|
+
AAG: `Aviation Area Forecast`,
|
|
217
|
+
PWO: `Public Severe Weather Outlook`,
|
|
218
|
+
PWS: `Tropical Cyclone Probabilities`,
|
|
219
|
+
QPF: `Quantitative Precipitation Forecast`,
|
|
220
|
+
QPS: `Quantitative Precipitation Statement`,
|
|
221
|
+
RDF: `Revised Digital Forecast`,
|
|
222
|
+
REC: `Recreational Report`,
|
|
223
|
+
RER: `Record Report`,
|
|
224
|
+
RET: `EAS Activation Request`,
|
|
225
|
+
RFD: `Rangeland Fire Danger Forecast`,
|
|
226
|
+
RFI: `RFI Observation`,
|
|
227
|
+
RFR: `Route Forecast`,
|
|
228
|
+
RFW: `Red Flag Warning`,
|
|
229
|
+
RHW: `Radiological Hazard Warning`,
|
|
230
|
+
RMT: `Required Monthly Test`,
|
|
231
|
+
RNS: `Rain Information Statement`,
|
|
232
|
+
RR1: `Hydro-Met Data Report Part 1`,
|
|
233
|
+
RR2: `Hydro-Met Data Report Part 2`,
|
|
234
|
+
RR3: `Hydro-Met Data Report Part 3`,
|
|
235
|
+
RR4: `Hydro-Met Data Report Part 4`,
|
|
236
|
+
RR5: `Hydro-Met Data Report Part 5`,
|
|
237
|
+
RR6: `Hydro-Met Data Report Part 6`,
|
|
238
|
+
RR7: `Hydro-Met Data Report Part 7`,
|
|
239
|
+
RR8: `Hydro-Met Data Report Part 8`,
|
|
240
|
+
RR9: `Hydro-Met Data Report Part 9`,
|
|
241
|
+
RRA: `Automated Hydrologic Observation Report`,
|
|
242
|
+
RRM: `Miscellaneous Hydrologic Data`,
|
|
243
|
+
RRS: `HADS Data`,
|
|
244
|
+
RRY: `ASOS Hourly Test Message`,
|
|
245
|
+
RSD: `Daily SNOTEL Data`,
|
|
246
|
+
RSM: `Monthly SNOTEL Data`,
|
|
247
|
+
RTP: `Regional Temperature and Precipitation Table`,
|
|
248
|
+
RVA: `River Summary`,
|
|
249
|
+
RVD: `Daily River Forecast`,
|
|
250
|
+
RVF: `River Forecast`,
|
|
251
|
+
RVI: `River Ice Statement`,
|
|
252
|
+
RVM: `Miscellaneous River Product`,
|
|
253
|
+
RVR: `River Recreation Statement`,
|
|
254
|
+
RVS: `River Statement`,
|
|
255
|
+
RWR: `Regional Weather Roundup`,
|
|
256
|
+
RWS: `Regional Weather Summary`,
|
|
257
|
+
RWT: `Required Weekly Test`,
|
|
258
|
+
SAB: `Special Avalanche Bulletin`,
|
|
259
|
+
SAF: `Agricultural Weather Forecast`,
|
|
260
|
+
SAG: `Snow Avalanche Guidance`,
|
|
261
|
+
SAT: `APT Prediction`,
|
|
262
|
+
SAW: `Preliminary Notice of Watch`,
|
|
263
|
+
SCC: `Storm Summary`,
|
|
264
|
+
SCD: `Supplementary Climatological Data`,
|
|
265
|
+
SCN: `Soil Climate Analysis Network`,
|
|
266
|
+
SCP: `Satellite Cloud Product`,
|
|
267
|
+
SCS: `Selected Cities Summary`,
|
|
268
|
+
SDO: `Supplementary Data Observation`,
|
|
269
|
+
SDS: `Special Dispersion Statement`,
|
|
270
|
+
SEL: `Severe Local Storm Watch`,
|
|
271
|
+
SEV: `SPC Watch Point Information`,
|
|
272
|
+
SFP: `State Forecast`,
|
|
273
|
+
SFT: `Tabular State Forecast`,
|
|
274
|
+
SGL: `Rawinsonde Significant Levels`,
|
|
275
|
+
SHP: `Surface Ship Report`,
|
|
276
|
+
SIG: `International SIGMET`,
|
|
277
|
+
SIM: `Satellite Interpretation Message`,
|
|
278
|
+
SLS: `Severe Local Storm Outline`,
|
|
279
|
+
SMF: `Smoke Management Weather Forecast`,
|
|
280
|
+
SMW: `Special Marine Warning`,
|
|
281
|
+
SOO: `Science Operations Officer Product`,
|
|
282
|
+
SPE: `Satellite Precipitation Estimates`,
|
|
283
|
+
SPF: `Storm Strike Probability Bulletin`,
|
|
284
|
+
SPS: `Special Weather Statement`,
|
|
285
|
+
SPW: `Shelter in Place Warning`,
|
|
286
|
+
SQW: `Snow Squall Warning`,
|
|
287
|
+
SRD: `Surf Discussion`,
|
|
288
|
+
SRF: `Surf Forecast`,
|
|
289
|
+
SRG: `Soaring Guidance`,
|
|
290
|
+
SSM: `Synoptic Surface Observation`,
|
|
291
|
+
STA: `Weather Statistical Summary`,
|
|
292
|
+
STD: `Satellite Tropical Disturbance Summary`,
|
|
293
|
+
STO: `Road Condition Report`,
|
|
294
|
+
STP: `State Temperature and Precipitation Table`,
|
|
295
|
+
STQ: `Spot Forecast Request`,
|
|
296
|
+
SUM: `Space Weather Message`,
|
|
297
|
+
SVR: `Severe Thunderstorm Warning`,
|
|
298
|
+
SVS: `Severe Weather Statement`,
|
|
299
|
+
SWOMCD: `Mesoscale Discussion`,
|
|
300
|
+
SWODY1: `Storm Prediction Center Day 1 Outlook`,
|
|
301
|
+
SWODY2: `Storm Prediction Center Day 2 Outlook`,
|
|
302
|
+
SWODY3: `Storm Prediction Center Day 3 Outlook`,
|
|
303
|
+
SWOD48: `Storm Prediction Center Day 4 to 8 Outlook`,
|
|
304
|
+
SWS: `State Weather Summary`,
|
|
305
|
+
SYN: `Regional Weather Synopsis`,
|
|
306
|
+
TAF: `Terminal Aerodrome Forecast`,
|
|
307
|
+
TAP: `Terminal Alerting Products`,
|
|
308
|
+
TAV: `Travelers Forecast Table`,
|
|
309
|
+
TCA: `Tropical Cyclone Advisory`,
|
|
310
|
+
TCD: `Tropical Cyclone Discussion`,
|
|
311
|
+
TCE: `Tropical Cyclone Position Estimate`,
|
|
312
|
+
TCM: `Tropical Cyclone Marine Aviation Advisory`,
|
|
313
|
+
TCP: `Public Tropical Cyclone Advisory`,
|
|
314
|
+
TCS: `Satellite Tropical Cyclone Summary`,
|
|
315
|
+
TCU: `Tropical Cyclone Update`,
|
|
316
|
+
TCV: `Tropical Cyclone Break Points`,
|
|
317
|
+
TIB: `Tsunami Bulletin`,
|
|
318
|
+
TID: `Tide Report`,
|
|
319
|
+
TMA: `Tsunami Tide Seismic Acknowledgement`,
|
|
320
|
+
TOE: `Telephone Outage Emergency`,
|
|
321
|
+
TOR: `Tornado Warning`,
|
|
322
|
+
TPT: `Temperature Precipitation Table`,
|
|
323
|
+
TSU: `Tsunami Information Statement`,
|
|
324
|
+
TUV: `Ultraviolet Index`,
|
|
325
|
+
TVL: `Travelers Forecast`,
|
|
326
|
+
TWB: `Transcribed Weather Broadcast`,
|
|
327
|
+
TWD: `Tropical Weather Discussion`,
|
|
328
|
+
TWO: `Tropical Weather Outlook`,
|
|
329
|
+
TWS: `Tropical Weather Summary`,
|
|
330
|
+
URN: `Aircraft Reconnaissance`,
|
|
331
|
+
UVI: `Ultraviolet Index`,
|
|
332
|
+
VAA: `Volcanic Activity Advisory`,
|
|
333
|
+
VER: `Forecast Verification Statistics`,
|
|
334
|
+
VFT: `TAF Verification Product`,
|
|
335
|
+
VOW: `Volcano Warning`,
|
|
336
|
+
WA0: `AIRMET Pacific`,
|
|
337
|
+
WA1: `AIRMET Northeast`,
|
|
338
|
+
WA2: `AIRMET Southeast`,
|
|
339
|
+
WA3: `AIRMET North Central`,
|
|
340
|
+
WA4: `AIRMET South Central`,
|
|
341
|
+
WA5: `AIRMET Rocky Mountains`,
|
|
342
|
+
WA6: `AIRMET West Coast`,
|
|
343
|
+
WA7: `AIRMET Juneau, AK`,
|
|
344
|
+
WA8: `AIRMET Anchorage, AK`,
|
|
345
|
+
WA9: `AIRMET Fairbanks, AK`,
|
|
346
|
+
WAR: `Space Environment Warning`,
|
|
347
|
+
WAT: `Space Environment Watch`,
|
|
348
|
+
WCN: `Weather Watch Clearance Notification`,
|
|
349
|
+
WCR: `Weekly Weather and Crop Report`,
|
|
350
|
+
WDA: `Weekly Data for Agriculture`,
|
|
351
|
+
WDU: `Warning Decision Update`,
|
|
352
|
+
WEK: `Space Environment Product Weekly`,
|
|
353
|
+
WOU: `Watch Outline Update`,
|
|
354
|
+
WS1: `SIGMET Northeast`,
|
|
355
|
+
WS2: `SIGMET Southeast`,
|
|
356
|
+
WS3: `SIGMET North Central`,
|
|
357
|
+
WS4: `SIGMET South Central`,
|
|
358
|
+
WS5: `SIGMET Rocky Mountains`,
|
|
359
|
+
WS6: `SIGMET West Coast`,
|
|
360
|
+
WST: `Tropical Cyclone SIGMET`,
|
|
361
|
+
WSV: `Volcanic Activity SIGMET`,
|
|
362
|
+
WSW: `Winter Weather Warning`,
|
|
363
|
+
WWA: `Watch Status Report`,
|
|
364
|
+
WWP: `Watch Probabilities`,
|
|
365
|
+
ZFP: `Zone Forecast Product`,
|
|
366
|
+
};
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
export const
|
|
20
|
+
export const EnumActions: Record<string, string> = {
|
|
21
21
|
"W": "Warning",
|
|
22
22
|
"F": "Forecast",
|
|
23
23
|
"A": "Watch",
|
|
@@ -11,16 +11,17 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
export const
|
|
20
|
+
export const EnumCancellation: string[] = [
|
|
21
21
|
"has been cancelled",
|
|
22
22
|
"subsided sufficiently for the advisory to be cancelled",
|
|
23
23
|
"has been cancelled",
|
|
24
|
+
"no tsunami threat from a nearby earthquake",
|
|
24
25
|
"will be allowed to expire",
|
|
25
26
|
"has diminished",
|
|
26
27
|
"and no longer",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
export const
|
|
20
|
+
export const EnumCauses: Record<string, string> = {
|
|
21
21
|
"SM": "Snow Melt",
|
|
22
22
|
"RS": "Rain/Snow Melt",
|
|
23
23
|
"ER": "Excessive Rain",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
@@ -26,7 +26,7 @@ type TypeCorrelations = {
|
|
|
26
26
|
isStatement: boolean
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export const
|
|
29
|
+
export const EnumCorrelations: TypeCorrelations[] = [
|
|
30
30
|
{type: "Statement", name: "Statement", isCancel: false, isUpdate: false, isIssued: true, isStatement: true},
|
|
31
31
|
{type: "Update", name: "Updated", isCancel: false, isUpdate: true, isIssued: false, isStatement: false},
|
|
32
32
|
{type: "Cancel", name: "Cancelled", isCancel: true, isUpdate: false, isIssued: false, isStatement: false},
|
|
@@ -0,0 +1,70 @@
|
|
|
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: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
|
+
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
|
+
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
type EnhancedEventType = {
|
|
21
|
+
description?: string
|
|
22
|
+
append?: boolean
|
|
23
|
+
tornado?: string
|
|
24
|
+
damage?: string
|
|
25
|
+
pdswatch?: boolean
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const EnumEnhanced: Record<string, Record<string, EnhancedEventType>> = {
|
|
29
|
+
"Tornado Warning": {
|
|
30
|
+
"Tornado Emergency": { description: "tornado emergency" },
|
|
31
|
+
"PDS Tornado Warning": { description: "particularly dangerous situation", damage: `CONSIDERABLE` },
|
|
32
|
+
"Radar Confirmed Tornado Warning": { description: "source...radar confirmed tornado.", tornado: `OBSERVED` },
|
|
33
|
+
"Confirmed Tornado Warning": { tornado: `OBSERVED` },
|
|
34
|
+
"Radar Indicated Tornado Warning": { },
|
|
35
|
+
},
|
|
36
|
+
"Fire Weather Warning": {
|
|
37
|
+
"PDS Fire Weather Warning": { description: "particularly dangerous situation" },
|
|
38
|
+
},
|
|
39
|
+
"Blizzard Warning": {
|
|
40
|
+
"PDS Blizzard Warning": { description: "particularly dangerous situation" },
|
|
41
|
+
},
|
|
42
|
+
"Ice Storm Warning": {
|
|
43
|
+
"PDS Ice Storm Warning": { description: "particularly dangerous situation" },
|
|
44
|
+
},
|
|
45
|
+
"Special Marine Warning": {
|
|
46
|
+
"Special Marine Warning (TPROB)": { tornado: `POSSIBLE` },
|
|
47
|
+
},
|
|
48
|
+
"Tornado Watch": {
|
|
49
|
+
"PDS Tornado Watch": { pdswatch: true }
|
|
50
|
+
},
|
|
51
|
+
"Severe Thunderstorm Watch": {
|
|
52
|
+
"PDS Severe Thunderstorm Watch": { pdswatch: true }
|
|
53
|
+
},
|
|
54
|
+
"Flash Flood Warning": {
|
|
55
|
+
"Flash Flood Emergency": { description: "flash flood emergency" },
|
|
56
|
+
"Considerable Flash Flood Warning": { damage: `CONSIDERABLE` },
|
|
57
|
+
},
|
|
58
|
+
"Severe Thunderstorm Warning": {
|
|
59
|
+
"EDS Severe Thunderstorm Warning (TPROB)": { description: "extremely dangerous situation", tornado: "POSSIBLE" },
|
|
60
|
+
"EDS Severe Thunderstorm Warning": { description: "extremely dangerous situation" },
|
|
61
|
+
"Destructive Severe Thunderstorm Warning (TPROB)": { damage: `DESTRUCTIVE`, tornado: `POSSIBLE` },
|
|
62
|
+
"Destructive Severe Thunderstorm Warning": { damage: `DESTRUCTIVE` },
|
|
63
|
+
"Considerable Severe Thunderstorm Warning (TPROB)": { damage: `CONSIDERABLE`, tornado: `POSSIBLE` },
|
|
64
|
+
"Considerable Severe Thunderstorm Warning": { damage: `CONSIDERABLE` },
|
|
65
|
+
"Severe Thunderstorm Warning (TPROB)": { tornado: `POSSIBLE` },
|
|
66
|
+
},
|
|
67
|
+
"Special Weather Statement": {
|
|
68
|
+
"Convective Special Weather Statement": { description: "strong thunderstorm" },
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
export const
|
|
20
|
+
export const EnumEvents: Record<string, string> = {
|
|
21
21
|
"AF": "Ashfall",
|
|
22
22
|
"AS": "Air Stagnation",
|
|
23
23
|
"BH": "Beach Hazard",
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
export const
|
|
21
|
-
|
|
20
|
+
export const EnumExpressions: { [key: string]: RegExp } = {
|
|
21
|
+
location: new RegExp(/^([A-Za-z.\-' ]+),\s*([A-Z]{2})$/),
|
|
22
|
+
vtec: new RegExp(`[OTEX].(NEW|CON|EXT|EXA|EXB|UPG|CAN|EXP|COR|ROU).[A-Z]{4}.[A-Z]{2}.[WAYSFON].[0-9]{4}.[0-9]{6}T[0-9]{4}Z-[0-9]{6}T[0-9]{4}Z`, "g"),
|
|
22
23
|
hvtec: new RegExp(`[a-zA-Z0-9]{4}.[A-Z0-9].[A-Z]{2}.[0-9]{6}T[0-9]{4}Z.[0-9]{6}T[0-9]{4}Z.[0-9]{6}T[0-9]{4}Z.[A-Z]{2}`, "imu"),
|
|
23
24
|
wmo: new RegExp(`[A-Z0-9]{6}\\s[A-Z]{4}\\s\\d{6}`, "imu"),
|
|
24
25
|
ugc1: new RegExp(`(\\w{2}[CZ](\\d{3}((-|>)\\s?(\\n\\n)?))+)`, "imu"),
|
|
@@ -11,15 +11,14 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
20
|
+
export const EnumGlobalFilter: string[] = [
|
|
21
|
+
"storm prediction center day 1 outlook",
|
|
22
|
+
"storm prediction center day 2 outlook",
|
|
23
|
+
"storm prediction center day 3 outlook"
|
|
24
|
+
]
|
|
@@ -11,16 +11,21 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
export const
|
|
20
|
+
export const EnumHail: Record<string, string> = {
|
|
21
|
+
"0.25": "Pea",
|
|
22
|
+
".25": "Pea",
|
|
23
|
+
"0.50": "Penny",
|
|
24
|
+
".50": "Penny",
|
|
21
25
|
".75": "Penny",
|
|
22
|
-
".
|
|
26
|
+
"Up to .75": "Penny",
|
|
23
27
|
"0.75": "Penny",
|
|
28
|
+
".88": "Nickel",
|
|
24
29
|
"0.88": "Nickel",
|
|
25
30
|
"1.00": "Quarter",
|
|
26
31
|
"1.25": "Half Dollar",
|
|
@@ -11,13 +11,14 @@
|
|
|
11
11
|
Created with ♥ by the AtmosphericX Team (KiyoWx, StarflightWx, & CJ Ziegler)
|
|
12
12
|
Discord: https://atmosphericx-discord.scriptkitty.cafe
|
|
13
13
|
Ko-Fi: https://ko-fi.com/k3yomi
|
|
14
|
-
Documentation:
|
|
14
|
+
Documentation: https://atmosphericx.scriptkitty.cafe/documentation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Independent Package: @atmosx/event-product-parser
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
export const
|
|
20
|
+
export const EnumICAO: Record<string, string> = {
|
|
21
|
+
"KLUB": "Lubbock, TX",
|
|
21
22
|
"KLCH": "Lake Charles, LA",
|
|
22
23
|
"TSTL": "St. Louis, MO",
|
|
23
24
|
"PABC": "Bethel, AK",
|
|
@@ -253,5 +254,6 @@ export const officeICAOs: Record<string, string> = {
|
|
|
253
254
|
"KCAR": "Caribou, ME",
|
|
254
255
|
"KMFR": "Medford, OR",
|
|
255
256
|
"PGUM": "Guam, GU",
|
|
257
|
+
"PACR": "Cordova, AK",
|
|
256
258
|
"PAJK": "Juneau, AK"
|
|
257
259
|
};
|