metar-taf-parser 3.1.2 → 4.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/README.md +1 -1
- package/{dist/locale → locale}/de.d.ts +0 -0
- package/{dist/locale → locale}/de.js +3 -3
- package/{dist/locale → locale}/en.d.ts +0 -0
- package/{dist/locale → locale}/en.js +3 -3
- package/{dist/locale → locale}/fr.d.ts +0 -0
- package/{dist/locale → locale}/fr.js +3 -3
- package/{dist/locale → locale}/it.d.ts +0 -0
- package/{dist/locale → locale}/it.js +3 -3
- package/{dist/locale → locale}/pl.d.ts +0 -0
- package/{dist/locale → locale}/pl.js +3 -3
- package/{dist/locale → locale}/zh-CN.d.ts +0 -0
- package/{dist/locale → locale}/zh-CN.js +3 -3
- package/metar-taf-parser.d.ts +1325 -0
- package/metar-taf-parser.js +2703 -0
- package/package.json +23 -16
- package/dist/command/common.d.ts +0 -54
- package/dist/command/common.js +0 -243
- package/dist/command/metar/AltimeterCommand.d.ts +0 -7
- package/dist/command/metar/AltimeterCommand.js +0 -26
- package/dist/command/metar/AltimeterMercuryCommand.d.ts +0 -7
- package/dist/command/metar/AltimeterMercuryCommand.js +0 -51
- package/dist/command/metar/RunwayCommand.d.ts +0 -7
- package/dist/command/metar/RunwayCommand.js +0 -60
- package/dist/command/metar/TemperatureCommand.d.ts +0 -7
- package/dist/command/metar/TemperatureCommand.js +0 -51
- package/dist/command/metar.d.ts +0 -9
- package/dist/command/metar.js +0 -31
- package/dist/command/remark/CeilingHeightCommand.d.ts +0 -18
- package/dist/command/remark/CeilingHeightCommand.js +0 -40
- package/dist/command/remark/CeilingSecondLocationCommand.d.ts +0 -12
- package/dist/command/remark/CeilingSecondLocationCommand.js +0 -40
- package/dist/command/remark/Command.d.ts +0 -8
- package/dist/command/remark/Command.js +0 -9
- package/dist/command/remark/DefaultCommand.d.ts +0 -11
- package/dist/command/remark/DefaultCommand.js +0 -38
- package/dist/command/remark/HailSizeCommand.d.ts +0 -11
- package/dist/command/remark/HailSizeCommand.js +0 -38
- package/dist/command/remark/HourlyMaximumMinimumTemperatureCommand.d.ts +0 -18
- package/dist/command/remark/HourlyMaximumMinimumTemperatureCommand.js +0 -39
- package/dist/command/remark/HourlyMaximumTemperatureCommand.d.ts +0 -14
- package/dist/command/remark/HourlyMaximumTemperatureCommand.js +0 -38
- package/dist/command/remark/HourlyMinimumTemperatureCommand.d.ts +0 -14
- package/dist/command/remark/HourlyMinimumTemperatureCommand.js +0 -38
- package/dist/command/remark/HourlyPrecipitationAmountCommand.d.ts +0 -14
- package/dist/command/remark/HourlyPrecipitationAmountCommand.js +0 -38
- package/dist/command/remark/HourlyPressureCommand.d.ts +0 -32
- package/dist/command/remark/HourlyPressureCommand.js +0 -40
- package/dist/command/remark/HourlyTemperatureDewPointCommand.d.ts +0 -18
- package/dist/command/remark/HourlyTemperatureDewPointCommand.js +0 -52
- package/dist/command/remark/IceAccretionCommand.d.ts +0 -15
- package/dist/command/remark/IceAccretionCommand.js +0 -38
- package/dist/command/remark/ObscurationCommand.d.ts +0 -14
- package/dist/command/remark/ObscurationCommand.js +0 -44
- package/dist/command/remark/PrecipitationAmount24HourCommand.d.ts +0 -14
- package/dist/command/remark/PrecipitationAmount24HourCommand.js +0 -39
- package/dist/command/remark/PrecipitationAmount36HourCommand.d.ts +0 -15
- package/dist/command/remark/PrecipitationAmount36HourCommand.js +0 -41
- package/dist/command/remark/PrecipitationBegCommand.d.ts +0 -15
- package/dist/command/remark/PrecipitationBegCommand.js +0 -45
- package/dist/command/remark/PrecipitationBegEndCommand.d.ts +0 -17
- package/dist/command/remark/PrecipitationBegEndCommand.js +0 -46
- package/dist/command/remark/PrecipitationEndCommand.d.ts +0 -15
- package/dist/command/remark/PrecipitationEndCommand.js +0 -45
- package/dist/command/remark/PrevailingVisibilityCommand.d.ts +0 -12
- package/dist/command/remark/PrevailingVisibilityCommand.js +0 -41
- package/dist/command/remark/SeaLevelPressureCommand.d.ts +0 -11
- package/dist/command/remark/SeaLevelPressureCommand.js +0 -39
- package/dist/command/remark/SecondLocationVisibilityCommand.d.ts +0 -12
- package/dist/command/remark/SecondLocationVisibilityCommand.js +0 -41
- package/dist/command/remark/SectorVisibilityCommand.d.ts +0 -13
- package/dist/command/remark/SectorVisibilityCommand.js +0 -42
- package/dist/command/remark/SmallHailSizeCommand.d.ts +0 -11
- package/dist/command/remark/SmallHailSizeCommand.js +0 -38
- package/dist/command/remark/SnowDepthCommand.d.ts +0 -11
- package/dist/command/remark/SnowDepthCommand.js +0 -38
- package/dist/command/remark/SnowIncreaseCommand.d.ts +0 -12
- package/dist/command/remark/SnowIncreaseCommand.js +0 -40
- package/dist/command/remark/SnowPelletsCommand.d.ts +0 -11
- package/dist/command/remark/SnowPelletsCommand.js +0 -37
- package/dist/command/remark/SunshineDurationCommand.d.ts +0 -11
- package/dist/command/remark/SunshineDurationCommand.js +0 -38
- package/dist/command/remark/SurfaceVisibilityCommand.d.ts +0 -11
- package/dist/command/remark/SurfaceVisibilityCommand.js +0 -39
- package/dist/command/remark/ThunderStormLocationCommand.d.ts +0 -12
- package/dist/command/remark/ThunderStormLocationCommand.js +0 -40
- package/dist/command/remark/ThunderStormLocationMovingCommand.d.ts +0 -19
- package/dist/command/remark/ThunderStormLocationMovingCommand.js +0 -42
- package/dist/command/remark/TornadicActivityBegCommand.d.ts +0 -16
- package/dist/command/remark/TornadicActivityBegCommand.js +0 -44
- package/dist/command/remark/TornadicActivityBegEndCommand.d.ts +0 -18
- package/dist/command/remark/TornadicActivityBegEndCommand.js +0 -46
- package/dist/command/remark/TornadicActivityEndCommand.d.ts +0 -16
- package/dist/command/remark/TornadicActivityEndCommand.js +0 -44
- package/dist/command/remark/TowerVisibilityCommand.d.ts +0 -11
- package/dist/command/remark/TowerVisibilityCommand.js +0 -39
- package/dist/command/remark/VariableSkyCommand.d.ts +0 -12
- package/dist/command/remark/VariableSkyCommand.js +0 -41
- package/dist/command/remark/VariableSkyHeightCommand.d.ts +0 -13
- package/dist/command/remark/VariableSkyHeightCommand.js +0 -43
- package/dist/command/remark/VirgaDirectionCommand.d.ts +0 -12
- package/dist/command/remark/VirgaDirectionCommand.js +0 -40
- package/dist/command/remark/WaterEquivalentSnowCommand.d.ts +0 -11
- package/dist/command/remark/WaterEquivalentSnowCommand.js +0 -38
- package/dist/command/remark/WindPeakCommandCommand.d.ts +0 -17
- package/dist/command/remark/WindPeakCommandCommand.js +0 -42
- package/dist/command/remark/WindShiftCommand.d.ts +0 -12
- package/dist/command/remark/WindShiftCommand.js +0 -38
- package/dist/command/remark/WindShiftFropaCommand.d.ts +0 -12
- package/dist/command/remark/WindShiftFropaCommand.js +0 -38
- package/dist/command/remark.d.ts +0 -109
- package/dist/command/remark.js +0 -152
- package/dist/commons/converter.d.ts +0 -21
- package/dist/commons/converter.js +0 -108
- package/dist/commons/errors.d.ts +0 -24
- package/dist/commons/errors.js +0 -46
- package/dist/commons/i18n.d.ts +0 -12
- package/dist/commons/i18n.js +0 -30
- package/dist/dates/metar.d.ts +0 -5
- package/dist/dates/metar.js +0 -8
- package/dist/dates/taf.d.ts +0 -28
- package/dist/dates/taf.js +0 -17
- package/dist/forecast/forecast.d.ts +0 -36
- package/dist/forecast/forecast.js +0 -72
- package/dist/helpers/date.d.ts +0 -11
- package/dist/helpers/date.js +0 -56
- package/dist/helpers/helpers.d.ts +0 -17
- package/dist/helpers/helpers.js +0 -46
- package/dist/index.d.ts +0 -32
- package/dist/index.js +0 -62
- package/dist/model/enum.d.ts +0 -265
- package/dist/model/enum.js +0 -280
- package/dist/model/model.d.ts +0 -188
- package/dist/model/model.js +0 -11
- package/dist/parser/parser.d.ts +0 -111
- package/dist/parser/parser.js +0 -480
package/dist/model/enum.d.ts
DELETED
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
export declare enum CloudQuantity {
|
|
2
|
-
/**
|
|
3
|
-
* Sky clear
|
|
4
|
-
*/
|
|
5
|
-
SKC = "SKC",
|
|
6
|
-
/**
|
|
7
|
-
* Few
|
|
8
|
-
*/
|
|
9
|
-
FEW = "FEW",
|
|
10
|
-
/**
|
|
11
|
-
* Broken
|
|
12
|
-
*/
|
|
13
|
-
BKN = "BKN",
|
|
14
|
-
/**
|
|
15
|
-
* Scattered
|
|
16
|
-
*/
|
|
17
|
-
SCT = "SCT",
|
|
18
|
-
/**
|
|
19
|
-
* Overcast
|
|
20
|
-
*/
|
|
21
|
-
OVC = "OVC",
|
|
22
|
-
/**
|
|
23
|
-
* No significant cloud
|
|
24
|
-
*/
|
|
25
|
-
NSC = "NSC"
|
|
26
|
-
}
|
|
27
|
-
export declare enum CloudType {
|
|
28
|
-
/**
|
|
29
|
-
* Cumulonimbus
|
|
30
|
-
*/
|
|
31
|
-
CB = "CB",
|
|
32
|
-
/**
|
|
33
|
-
* Towering cumulus, cumulus congestus
|
|
34
|
-
*/
|
|
35
|
-
TCU = "TCU",
|
|
36
|
-
/**
|
|
37
|
-
* Cirrus
|
|
38
|
-
*/
|
|
39
|
-
CI = "CI",
|
|
40
|
-
/**
|
|
41
|
-
* Cirrocumulus
|
|
42
|
-
*/
|
|
43
|
-
CC = "CC",
|
|
44
|
-
/**
|
|
45
|
-
* Cirrostratus
|
|
46
|
-
*/
|
|
47
|
-
CS = "CS",
|
|
48
|
-
/**
|
|
49
|
-
* Altocumulus
|
|
50
|
-
*/
|
|
51
|
-
AC = "AC",
|
|
52
|
-
/**
|
|
53
|
-
* Stratus
|
|
54
|
-
*/
|
|
55
|
-
ST = "ST",
|
|
56
|
-
/**
|
|
57
|
-
* Cumulus
|
|
58
|
-
*/
|
|
59
|
-
CU = "CU",
|
|
60
|
-
/**
|
|
61
|
-
* Astrostratus
|
|
62
|
-
*/
|
|
63
|
-
AS = "AS",
|
|
64
|
-
/**
|
|
65
|
-
* Nimbostratus
|
|
66
|
-
*/
|
|
67
|
-
NS = "NS",
|
|
68
|
-
/**
|
|
69
|
-
* Stratocumulus
|
|
70
|
-
*/
|
|
71
|
-
SC = "SC"
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Moderate has no qualifier.
|
|
75
|
-
*/
|
|
76
|
-
export declare enum Intensity {
|
|
77
|
-
LIGHT = "-",
|
|
78
|
-
/**
|
|
79
|
-
* Heavy or well-developed
|
|
80
|
-
*/
|
|
81
|
-
HEAVY = "+",
|
|
82
|
-
IN_VICINITY = "VC"
|
|
83
|
-
}
|
|
84
|
-
export declare enum Descriptive {
|
|
85
|
-
SHOWERS = "SH",
|
|
86
|
-
SHALLOW = "MI",
|
|
87
|
-
PATCHES = "BC",
|
|
88
|
-
PARTIAL = "PR",
|
|
89
|
-
DRIFTING = "DR",
|
|
90
|
-
THUNDERSTORM = "TS",
|
|
91
|
-
BLOWING = "BL",
|
|
92
|
-
FREEZING = "FZ"
|
|
93
|
-
}
|
|
94
|
-
export declare enum Phenomenon {
|
|
95
|
-
RAIN = "RA",
|
|
96
|
-
DRIZZLE = "DZ",
|
|
97
|
-
SNOW = "SN",
|
|
98
|
-
SNOW_GRAINS = "SG",
|
|
99
|
-
ICE_PELLETS = "PL",
|
|
100
|
-
ICE_CRYSTALS = "IC",
|
|
101
|
-
HAIL = "GR",
|
|
102
|
-
SMALL_HAIL = "GS",
|
|
103
|
-
UNKNOW_PRECIPITATION = "UP",
|
|
104
|
-
FOG = "FG",
|
|
105
|
-
VOLCANIC_ASH = "VA",
|
|
106
|
-
MIST = "BR",
|
|
107
|
-
HAZE = "HZ",
|
|
108
|
-
WIDESPREAD_DUST = "DU",
|
|
109
|
-
SMOKE = "FU",
|
|
110
|
-
SAND = "SA",
|
|
111
|
-
SPRAY = "PY",
|
|
112
|
-
SQUALL = "SQ",
|
|
113
|
-
SAND_WHIRLS = "PO",
|
|
114
|
-
THUNDERSTORM = "TS",
|
|
115
|
-
DUSTSTORM = "DS",
|
|
116
|
-
SANDSTORM = "SS",
|
|
117
|
-
FUNNEL_CLOUD = "FC"
|
|
118
|
-
}
|
|
119
|
-
export declare enum TimeIndicator {
|
|
120
|
-
AT = "AT",
|
|
121
|
-
FM = "FM",
|
|
122
|
-
TL = "TL"
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* https://www.aviationweather.gov/taf/decoder
|
|
126
|
-
*/
|
|
127
|
-
export declare enum WeatherChangeType {
|
|
128
|
-
/**
|
|
129
|
-
* FROM Group
|
|
130
|
-
*
|
|
131
|
-
* ie. `FM1600`
|
|
132
|
-
*
|
|
133
|
-
* The FM group is used when a rapid change, usually occuring in less than one
|
|
134
|
-
* hour, in prevailing conditions is expected. Typically, a rapid change of
|
|
135
|
-
* prevailing conditions to more or less a completely new set of prevailing
|
|
136
|
-
* conditions is associated with a synoptic feature passing through the
|
|
137
|
-
* terminal area (cold or warm frontal passage). Appended to the FM indicator
|
|
138
|
-
* is the four-digit hour and minute the change is expected to begin and
|
|
139
|
-
* continues until the next change group or until the end of the current
|
|
140
|
-
* forecast.
|
|
141
|
-
*
|
|
142
|
-
* A FM group will mark the beginning of a new line in a TAF report. Each FM
|
|
143
|
-
* group contains all the required elements -- wind, visibility, weather, and
|
|
144
|
-
* sky condition. Weather will be omitted in FM groups when it is not
|
|
145
|
-
* significant to aviation. FM groups will not include the contraction NSW.
|
|
146
|
-
*
|
|
147
|
-
* Examples:
|
|
148
|
-
*
|
|
149
|
-
* 1. `FM0100 SKC` - After 0100Z sky clear
|
|
150
|
-
* 2. `FM1430 OVC020` - After 1430Z ceiling two thousand overcast
|
|
151
|
-
*/
|
|
152
|
-
FM = "FM",
|
|
153
|
-
/**
|
|
154
|
-
* BECOMING Group
|
|
155
|
-
*
|
|
156
|
-
* ie. `BECMG 2224`
|
|
157
|
-
*
|
|
158
|
-
* The BECMG group is used when a gradual change in conditions is expected
|
|
159
|
-
* over a longer time period, usually two hours. The time period when the
|
|
160
|
-
* change is expected is a four-digit group with the beginning hour and ending
|
|
161
|
-
* hour of the change period which follows the BECMG indicator. The gradual
|
|
162
|
-
* change will occur at an unspecified time within this time period. Only the
|
|
163
|
-
* conditions are carried over from the previous time group.
|
|
164
|
-
*
|
|
165
|
-
* Example:
|
|
166
|
-
*
|
|
167
|
-
* 1. `OVC012 BECMG 1416 BKN020` - Ceiling one thousand two hundred overcast.
|
|
168
|
-
* Then a gradual change to ceiling two thousand broken between 1400Z and
|
|
169
|
-
* 1600Z.
|
|
170
|
-
*/
|
|
171
|
-
BECMG = "BECMG",
|
|
172
|
-
/**
|
|
173
|
-
* TEMPORARY Group
|
|
174
|
-
*
|
|
175
|
-
* ie. `TEMPO 1316`
|
|
176
|
-
*
|
|
177
|
-
* The TEMPO group is used for any conditions in wind, visibility, weather, or
|
|
178
|
-
* sky condition which are expected to last for generally less than an hour at
|
|
179
|
-
* a time (occasional), and are expected to occur during less than half the
|
|
180
|
-
* time period. The TEMPO indicator is followed by a four-digit group giving
|
|
181
|
-
* the beginning hour and ending hour of the time period during which the
|
|
182
|
-
* temporary conditions are expected. Only the changing forecast
|
|
183
|
-
* meteorological conditions are included in TEMPO groups. The omitted
|
|
184
|
-
* conditions are carried over from the previous time group.
|
|
185
|
-
*
|
|
186
|
-
* Examples:
|
|
187
|
-
*
|
|
188
|
-
* 1. `SCT030 TEMPO 1923 BKN030` - Three thousand scattered with occasional
|
|
189
|
-
* ceilings three thousand broken between 1900Z and 2300Z.
|
|
190
|
-
* 2. `4SM HZ TEMPO 0006 2SM BR HZ` - Visibility four in haze with occasional
|
|
191
|
-
* visibility two in mist and haze between 0000Z and 0600Z.
|
|
192
|
-
*/
|
|
193
|
-
TEMPO = "TEMPO",
|
|
194
|
-
/**
|
|
195
|
-
* Probability Forecast
|
|
196
|
-
*
|
|
197
|
-
* ie. `PROB40 0006`
|
|
198
|
-
*
|
|
199
|
-
* The probability or chance of thunderstorms or other precipitation events
|
|
200
|
-
* occuring, along with associated weather conditions (wind, visibility, and
|
|
201
|
-
* sky conditions).
|
|
202
|
-
*
|
|
203
|
-
* The PROB40 group is used when the occurrence of thunderstorms or
|
|
204
|
-
* precipitation is in the 30% to less than 50% range, thus the probability
|
|
205
|
-
* value 40 is appended to the PROB contraction. This is followed by a
|
|
206
|
-
* four-digit group giving the beginning hour and ending hour of the time
|
|
207
|
-
* period during which the thunderstorms or precipitation is expected.
|
|
208
|
-
*
|
|
209
|
-
* Note: PROB40 will not be shown during the first six hours of a forecast.
|
|
210
|
-
*
|
|
211
|
-
* Examples:
|
|
212
|
-
*
|
|
213
|
-
* 1. `PROB40 2102 1/2SM +TSRA` - Chance between 2100Z and 0200Z of
|
|
214
|
-
* visibility one-half thunderstorm, heavy rain.
|
|
215
|
-
* 2. `PROB40 1014 1SM RASN` - Chance between 1000Z and 1400Z of visibility
|
|
216
|
-
* one rain and snow.
|
|
217
|
-
* 3. `PROB40 2024 2SM FZRA` - Chance between 2000Z and 0000Z of visibility
|
|
218
|
-
* two freezing rain.
|
|
219
|
-
|
|
220
|
-
*/
|
|
221
|
-
PROB = "PROB"
|
|
222
|
-
}
|
|
223
|
-
export declare enum Direction {
|
|
224
|
-
E = "E",
|
|
225
|
-
ENE = "ENE",
|
|
226
|
-
ESE = "ESE",
|
|
227
|
-
N = "N",
|
|
228
|
-
NE = "NE",
|
|
229
|
-
NNE = "NNE",
|
|
230
|
-
NNW = "NNW",
|
|
231
|
-
NW = "NW",
|
|
232
|
-
S = "S",
|
|
233
|
-
SE = "SE",
|
|
234
|
-
SSE = "SSE",
|
|
235
|
-
SSW = "SSW",
|
|
236
|
-
SW = "SW",
|
|
237
|
-
W = "W",
|
|
238
|
-
WNW = "WNW",
|
|
239
|
-
WSW = "WSW"
|
|
240
|
-
}
|
|
241
|
-
export declare enum DistanceUnit {
|
|
242
|
-
Meters = "m",
|
|
243
|
-
StatuteMiles = "SM"
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Used to indicate the actual value is greater than or less than the value written
|
|
247
|
-
*
|
|
248
|
-
* For example,
|
|
249
|
-
*
|
|
250
|
-
* 1. `P6SM` = visibility greater than 6 statute miles
|
|
251
|
-
* 2. `M1/4SM` = visibility less than 1/4 statute mile
|
|
252
|
-
*/
|
|
253
|
-
export declare enum ValueIndicator {
|
|
254
|
-
GreaterThan = "P",
|
|
255
|
-
LessThan = "M"
|
|
256
|
-
}
|
|
257
|
-
export declare enum RunwayInfoTrend {
|
|
258
|
-
Uprising = "U",
|
|
259
|
-
Decreasing = "D",
|
|
260
|
-
NoSignificantChange = "N"
|
|
261
|
-
}
|
|
262
|
-
export declare enum RunwayInfoUnit {
|
|
263
|
-
Feet = "FT",
|
|
264
|
-
Meters = "m"
|
|
265
|
-
}
|
package/dist/model/enum.js
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RunwayInfoUnit = exports.RunwayInfoTrend = exports.ValueIndicator = exports.DistanceUnit = exports.Direction = exports.WeatherChangeType = exports.TimeIndicator = exports.Phenomenon = exports.Descriptive = exports.Intensity = exports.CloudType = exports.CloudQuantity = void 0;
|
|
4
|
-
var CloudQuantity;
|
|
5
|
-
(function (CloudQuantity) {
|
|
6
|
-
/**
|
|
7
|
-
* Sky clear
|
|
8
|
-
*/
|
|
9
|
-
CloudQuantity["SKC"] = "SKC";
|
|
10
|
-
/**
|
|
11
|
-
* Few
|
|
12
|
-
*/
|
|
13
|
-
CloudQuantity["FEW"] = "FEW";
|
|
14
|
-
/**
|
|
15
|
-
* Broken
|
|
16
|
-
*/
|
|
17
|
-
CloudQuantity["BKN"] = "BKN";
|
|
18
|
-
/**
|
|
19
|
-
* Scattered
|
|
20
|
-
*/
|
|
21
|
-
CloudQuantity["SCT"] = "SCT";
|
|
22
|
-
/**
|
|
23
|
-
* Overcast
|
|
24
|
-
*/
|
|
25
|
-
CloudQuantity["OVC"] = "OVC";
|
|
26
|
-
/**
|
|
27
|
-
* No significant cloud
|
|
28
|
-
*/
|
|
29
|
-
CloudQuantity["NSC"] = "NSC";
|
|
30
|
-
})(CloudQuantity = exports.CloudQuantity || (exports.CloudQuantity = {}));
|
|
31
|
-
var CloudType;
|
|
32
|
-
(function (CloudType) {
|
|
33
|
-
/**
|
|
34
|
-
* Cumulonimbus
|
|
35
|
-
*/
|
|
36
|
-
CloudType["CB"] = "CB";
|
|
37
|
-
/**
|
|
38
|
-
* Towering cumulus, cumulus congestus
|
|
39
|
-
*/
|
|
40
|
-
CloudType["TCU"] = "TCU";
|
|
41
|
-
/**
|
|
42
|
-
* Cirrus
|
|
43
|
-
*/
|
|
44
|
-
CloudType["CI"] = "CI";
|
|
45
|
-
/**
|
|
46
|
-
* Cirrocumulus
|
|
47
|
-
*/
|
|
48
|
-
CloudType["CC"] = "CC";
|
|
49
|
-
/**
|
|
50
|
-
* Cirrostratus
|
|
51
|
-
*/
|
|
52
|
-
CloudType["CS"] = "CS";
|
|
53
|
-
/**
|
|
54
|
-
* Altocumulus
|
|
55
|
-
*/
|
|
56
|
-
CloudType["AC"] = "AC";
|
|
57
|
-
/**
|
|
58
|
-
* Stratus
|
|
59
|
-
*/
|
|
60
|
-
CloudType["ST"] = "ST";
|
|
61
|
-
/**
|
|
62
|
-
* Cumulus
|
|
63
|
-
*/
|
|
64
|
-
CloudType["CU"] = "CU";
|
|
65
|
-
/**
|
|
66
|
-
* Astrostratus
|
|
67
|
-
*/
|
|
68
|
-
CloudType["AS"] = "AS";
|
|
69
|
-
/**
|
|
70
|
-
* Nimbostratus
|
|
71
|
-
*/
|
|
72
|
-
CloudType["NS"] = "NS";
|
|
73
|
-
/**
|
|
74
|
-
* Stratocumulus
|
|
75
|
-
*/
|
|
76
|
-
CloudType["SC"] = "SC";
|
|
77
|
-
})(CloudType = exports.CloudType || (exports.CloudType = {}));
|
|
78
|
-
/**
|
|
79
|
-
* Moderate has no qualifier.
|
|
80
|
-
*/
|
|
81
|
-
var Intensity;
|
|
82
|
-
(function (Intensity) {
|
|
83
|
-
Intensity["LIGHT"] = "-";
|
|
84
|
-
/**
|
|
85
|
-
* Heavy or well-developed
|
|
86
|
-
*/
|
|
87
|
-
Intensity["HEAVY"] = "+";
|
|
88
|
-
Intensity["IN_VICINITY"] = "VC";
|
|
89
|
-
})(Intensity = exports.Intensity || (exports.Intensity = {}));
|
|
90
|
-
var Descriptive;
|
|
91
|
-
(function (Descriptive) {
|
|
92
|
-
Descriptive["SHOWERS"] = "SH";
|
|
93
|
-
Descriptive["SHALLOW"] = "MI";
|
|
94
|
-
Descriptive["PATCHES"] = "BC";
|
|
95
|
-
Descriptive["PARTIAL"] = "PR";
|
|
96
|
-
Descriptive["DRIFTING"] = "DR";
|
|
97
|
-
Descriptive["THUNDERSTORM"] = "TS";
|
|
98
|
-
Descriptive["BLOWING"] = "BL";
|
|
99
|
-
Descriptive["FREEZING"] = "FZ";
|
|
100
|
-
})(Descriptive = exports.Descriptive || (exports.Descriptive = {}));
|
|
101
|
-
var Phenomenon;
|
|
102
|
-
(function (Phenomenon) {
|
|
103
|
-
Phenomenon["RAIN"] = "RA";
|
|
104
|
-
Phenomenon["DRIZZLE"] = "DZ";
|
|
105
|
-
Phenomenon["SNOW"] = "SN";
|
|
106
|
-
Phenomenon["SNOW_GRAINS"] = "SG";
|
|
107
|
-
Phenomenon["ICE_PELLETS"] = "PL";
|
|
108
|
-
Phenomenon["ICE_CRYSTALS"] = "IC";
|
|
109
|
-
Phenomenon["HAIL"] = "GR";
|
|
110
|
-
Phenomenon["SMALL_HAIL"] = "GS";
|
|
111
|
-
Phenomenon["UNKNOW_PRECIPITATION"] = "UP";
|
|
112
|
-
Phenomenon["FOG"] = "FG";
|
|
113
|
-
Phenomenon["VOLCANIC_ASH"] = "VA";
|
|
114
|
-
Phenomenon["MIST"] = "BR";
|
|
115
|
-
Phenomenon["HAZE"] = "HZ";
|
|
116
|
-
Phenomenon["WIDESPREAD_DUST"] = "DU";
|
|
117
|
-
Phenomenon["SMOKE"] = "FU";
|
|
118
|
-
Phenomenon["SAND"] = "SA";
|
|
119
|
-
Phenomenon["SPRAY"] = "PY";
|
|
120
|
-
Phenomenon["SQUALL"] = "SQ";
|
|
121
|
-
Phenomenon["SAND_WHIRLS"] = "PO";
|
|
122
|
-
Phenomenon["THUNDERSTORM"] = "TS";
|
|
123
|
-
Phenomenon["DUSTSTORM"] = "DS";
|
|
124
|
-
Phenomenon["SANDSTORM"] = "SS";
|
|
125
|
-
Phenomenon["FUNNEL_CLOUD"] = "FC";
|
|
126
|
-
})(Phenomenon = exports.Phenomenon || (exports.Phenomenon = {}));
|
|
127
|
-
var TimeIndicator;
|
|
128
|
-
(function (TimeIndicator) {
|
|
129
|
-
TimeIndicator["AT"] = "AT";
|
|
130
|
-
TimeIndicator["FM"] = "FM";
|
|
131
|
-
TimeIndicator["TL"] = "TL";
|
|
132
|
-
})(TimeIndicator = exports.TimeIndicator || (exports.TimeIndicator = {}));
|
|
133
|
-
/**
|
|
134
|
-
* https://www.aviationweather.gov/taf/decoder
|
|
135
|
-
*/
|
|
136
|
-
var WeatherChangeType;
|
|
137
|
-
(function (WeatherChangeType) {
|
|
138
|
-
/**
|
|
139
|
-
* FROM Group
|
|
140
|
-
*
|
|
141
|
-
* ie. `FM1600`
|
|
142
|
-
*
|
|
143
|
-
* The FM group is used when a rapid change, usually occuring in less than one
|
|
144
|
-
* hour, in prevailing conditions is expected. Typically, a rapid change of
|
|
145
|
-
* prevailing conditions to more or less a completely new set of prevailing
|
|
146
|
-
* conditions is associated with a synoptic feature passing through the
|
|
147
|
-
* terminal area (cold or warm frontal passage). Appended to the FM indicator
|
|
148
|
-
* is the four-digit hour and minute the change is expected to begin and
|
|
149
|
-
* continues until the next change group or until the end of the current
|
|
150
|
-
* forecast.
|
|
151
|
-
*
|
|
152
|
-
* A FM group will mark the beginning of a new line in a TAF report. Each FM
|
|
153
|
-
* group contains all the required elements -- wind, visibility, weather, and
|
|
154
|
-
* sky condition. Weather will be omitted in FM groups when it is not
|
|
155
|
-
* significant to aviation. FM groups will not include the contraction NSW.
|
|
156
|
-
*
|
|
157
|
-
* Examples:
|
|
158
|
-
*
|
|
159
|
-
* 1. `FM0100 SKC` - After 0100Z sky clear
|
|
160
|
-
* 2. `FM1430 OVC020` - After 1430Z ceiling two thousand overcast
|
|
161
|
-
*/
|
|
162
|
-
WeatherChangeType["FM"] = "FM";
|
|
163
|
-
/**
|
|
164
|
-
* BECOMING Group
|
|
165
|
-
*
|
|
166
|
-
* ie. `BECMG 2224`
|
|
167
|
-
*
|
|
168
|
-
* The BECMG group is used when a gradual change in conditions is expected
|
|
169
|
-
* over a longer time period, usually two hours. The time period when the
|
|
170
|
-
* change is expected is a four-digit group with the beginning hour and ending
|
|
171
|
-
* hour of the change period which follows the BECMG indicator. The gradual
|
|
172
|
-
* change will occur at an unspecified time within this time period. Only the
|
|
173
|
-
* conditions are carried over from the previous time group.
|
|
174
|
-
*
|
|
175
|
-
* Example:
|
|
176
|
-
*
|
|
177
|
-
* 1. `OVC012 BECMG 1416 BKN020` - Ceiling one thousand two hundred overcast.
|
|
178
|
-
* Then a gradual change to ceiling two thousand broken between 1400Z and
|
|
179
|
-
* 1600Z.
|
|
180
|
-
*/
|
|
181
|
-
WeatherChangeType["BECMG"] = "BECMG";
|
|
182
|
-
/**
|
|
183
|
-
* TEMPORARY Group
|
|
184
|
-
*
|
|
185
|
-
* ie. `TEMPO 1316`
|
|
186
|
-
*
|
|
187
|
-
* The TEMPO group is used for any conditions in wind, visibility, weather, or
|
|
188
|
-
* sky condition which are expected to last for generally less than an hour at
|
|
189
|
-
* a time (occasional), and are expected to occur during less than half the
|
|
190
|
-
* time period. The TEMPO indicator is followed by a four-digit group giving
|
|
191
|
-
* the beginning hour and ending hour of the time period during which the
|
|
192
|
-
* temporary conditions are expected. Only the changing forecast
|
|
193
|
-
* meteorological conditions are included in TEMPO groups. The omitted
|
|
194
|
-
* conditions are carried over from the previous time group.
|
|
195
|
-
*
|
|
196
|
-
* Examples:
|
|
197
|
-
*
|
|
198
|
-
* 1. `SCT030 TEMPO 1923 BKN030` - Three thousand scattered with occasional
|
|
199
|
-
* ceilings three thousand broken between 1900Z and 2300Z.
|
|
200
|
-
* 2. `4SM HZ TEMPO 0006 2SM BR HZ` - Visibility four in haze with occasional
|
|
201
|
-
* visibility two in mist and haze between 0000Z and 0600Z.
|
|
202
|
-
*/
|
|
203
|
-
WeatherChangeType["TEMPO"] = "TEMPO";
|
|
204
|
-
/**
|
|
205
|
-
* Probability Forecast
|
|
206
|
-
*
|
|
207
|
-
* ie. `PROB40 0006`
|
|
208
|
-
*
|
|
209
|
-
* The probability or chance of thunderstorms or other precipitation events
|
|
210
|
-
* occuring, along with associated weather conditions (wind, visibility, and
|
|
211
|
-
* sky conditions).
|
|
212
|
-
*
|
|
213
|
-
* The PROB40 group is used when the occurrence of thunderstorms or
|
|
214
|
-
* precipitation is in the 30% to less than 50% range, thus the probability
|
|
215
|
-
* value 40 is appended to the PROB contraction. This is followed by a
|
|
216
|
-
* four-digit group giving the beginning hour and ending hour of the time
|
|
217
|
-
* period during which the thunderstorms or precipitation is expected.
|
|
218
|
-
*
|
|
219
|
-
* Note: PROB40 will not be shown during the first six hours of a forecast.
|
|
220
|
-
*
|
|
221
|
-
* Examples:
|
|
222
|
-
*
|
|
223
|
-
* 1. `PROB40 2102 1/2SM +TSRA` - Chance between 2100Z and 0200Z of
|
|
224
|
-
* visibility one-half thunderstorm, heavy rain.
|
|
225
|
-
* 2. `PROB40 1014 1SM RASN` - Chance between 1000Z and 1400Z of visibility
|
|
226
|
-
* one rain and snow.
|
|
227
|
-
* 3. `PROB40 2024 2SM FZRA` - Chance between 2000Z and 0000Z of visibility
|
|
228
|
-
* two freezing rain.
|
|
229
|
-
|
|
230
|
-
*/
|
|
231
|
-
WeatherChangeType["PROB"] = "PROB";
|
|
232
|
-
})(WeatherChangeType = exports.WeatherChangeType || (exports.WeatherChangeType = {}));
|
|
233
|
-
var Direction;
|
|
234
|
-
(function (Direction) {
|
|
235
|
-
Direction["E"] = "E";
|
|
236
|
-
Direction["ENE"] = "ENE";
|
|
237
|
-
Direction["ESE"] = "ESE";
|
|
238
|
-
Direction["N"] = "N";
|
|
239
|
-
Direction["NE"] = "NE";
|
|
240
|
-
Direction["NNE"] = "NNE";
|
|
241
|
-
Direction["NNW"] = "NNW";
|
|
242
|
-
Direction["NW"] = "NW";
|
|
243
|
-
Direction["S"] = "S";
|
|
244
|
-
Direction["SE"] = "SE";
|
|
245
|
-
Direction["SSE"] = "SSE";
|
|
246
|
-
Direction["SSW"] = "SSW";
|
|
247
|
-
Direction["SW"] = "SW";
|
|
248
|
-
Direction["W"] = "W";
|
|
249
|
-
Direction["WNW"] = "WNW";
|
|
250
|
-
Direction["WSW"] = "WSW";
|
|
251
|
-
})(Direction = exports.Direction || (exports.Direction = {}));
|
|
252
|
-
var DistanceUnit;
|
|
253
|
-
(function (DistanceUnit) {
|
|
254
|
-
DistanceUnit["Meters"] = "m";
|
|
255
|
-
DistanceUnit["StatuteMiles"] = "SM";
|
|
256
|
-
})(DistanceUnit = exports.DistanceUnit || (exports.DistanceUnit = {}));
|
|
257
|
-
/**
|
|
258
|
-
* Used to indicate the actual value is greater than or less than the value written
|
|
259
|
-
*
|
|
260
|
-
* For example,
|
|
261
|
-
*
|
|
262
|
-
* 1. `P6SM` = visibility greater than 6 statute miles
|
|
263
|
-
* 2. `M1/4SM` = visibility less than 1/4 statute mile
|
|
264
|
-
*/
|
|
265
|
-
var ValueIndicator;
|
|
266
|
-
(function (ValueIndicator) {
|
|
267
|
-
ValueIndicator["GreaterThan"] = "P";
|
|
268
|
-
ValueIndicator["LessThan"] = "M";
|
|
269
|
-
})(ValueIndicator = exports.ValueIndicator || (exports.ValueIndicator = {}));
|
|
270
|
-
var RunwayInfoTrend;
|
|
271
|
-
(function (RunwayInfoTrend) {
|
|
272
|
-
RunwayInfoTrend["Uprising"] = "U";
|
|
273
|
-
RunwayInfoTrend["Decreasing"] = "D";
|
|
274
|
-
RunwayInfoTrend["NoSignificantChange"] = "N";
|
|
275
|
-
})(RunwayInfoTrend = exports.RunwayInfoTrend || (exports.RunwayInfoTrend = {}));
|
|
276
|
-
var RunwayInfoUnit;
|
|
277
|
-
(function (RunwayInfoUnit) {
|
|
278
|
-
RunwayInfoUnit["Feet"] = "FT";
|
|
279
|
-
RunwayInfoUnit["Meters"] = "m";
|
|
280
|
-
})(RunwayInfoUnit = exports.RunwayInfoUnit || (exports.RunwayInfoUnit = {}));
|