Simple Weather Table (v.1)

For convention sake, the fields of the weather string here are W=Weather type, C=Coverage type, I=Intensity, V=Visibility (not used), H=Hazard (not used). I use "C programming" convention to refer to which word. [0] refers to the 1st, [1] the 2nd, ... [4] the 5th.

To use this table, find the entry that it matches the most specifications of. In otherwords if it is W[0]=L, C[0]=SCT, use 1, but if C[0] is not in {SCT, SCHC, PATCHY, ISO, CHC}, use 9. If it matters, the precident is from left to right.

The "Simple Weather Code" is in the "Code" column.

W[0] C[0] W[1] I[0] Code Label
* * * * 0 No weather
L SCT, SCHC, PATCHY, ISO, CHC * * 1 LoProb L
R SCT, SCHC, PATCHY, ISO, CHC * -, -- 2 LoProb R-
R SCT, SCHC, PATCHY, ISO, CHC * m 3 LoProb R
R SCT, SCHC, PATCHY, ISO, CHC * + 4 LoProb R+
R, T SCT, SCHC, PATCHY, ISO, CHC T, R * 5 LoProb R/T
RW SCT, SCHC, PATCHY, ISO, CHC * * 6 LoProb RW
RW, T SCT, SCHC, PATCHY, ISO, CHC T, RW * 7 LoProb RW/T
T SCT, SCHC, PATCHY, ISO, CHC * * 8 LoProb T
L * * * 9 HiProb L
R * * -, -- 10 HiProb R-
R * * m 11 HiProb R
R * * + 12 HiProb R+
R, T * T, R * 13 HiProb R/T
RW * * * 14 HiProb RW
RW, T * T, RW * 15 HiProb RW/T
T * * * 16 HiProb T
T * * + 17 Severe T
R SCT, SCHC, PATCHY, ISO, CHC S, SW * 18 LoProb R/S
SW SCT, SCHC, PATCHY, ISO, CHC R *
S SCT, SCHC, PATCHY, ISO, CHC R, RW *
SW, RW SCT, SCHC, PATCHY, ISO, CHC RW, SW * 19 LoProb RW/SW
R, IP SCT, SCHC, PATCHY, ISO, CHC IP, R * 20 LoProb R/IP
IP, S SCT, SCHC, PATCHY, ISO, CHC S, IP * 21 LoProb S/IP
R * S, SW * 22 HiProb R/S
SW * R *
S * R, RW *
SW, RW * RW, SW * 23 HiProb RW/SW
R, IP * IP, R * 24 HiProb R/IP
IP, S * S, IP * 25 HiProb S/IP
IP SCT, SCHC, PATCHY, ISO, CHC * --, - 26 LoProb IP-
IP SCT, SCHC, PATCHY, ISO, CHC * m 27 LoProb IP
IP SCT, SCHC, PATCHY, ISO, CHC * + 28 LoProb IP+
ZL SCT, SCHC, PATCHY, ISO, CHC * * 29 LoProb ZL
L SCT, SCHC, PATCHY, ISO, CHC ZL * 29 LoProb ZL
R, ZL SCT, SCHC, PATCHY, ISO, CHC ZL, R * 30 LoProb ZL/R
ZR SCT, SCHC, PATCHY, ISO, CHC * --, - 31 LoProb ZR-
ZR SCT, SCHC, PATCHY, ISO, CHC * m 32 LoProb ZR
ZR SCT, SCHC, PATCHY, ISO, CHC * + 33 LoProb ZR+
R, ZR SCT, SCHC, PATCHY, ISO, CHC ZR, R * 34 LoProb ZR/R
ZR, IP SCT, SCHC, PATCHY, ISO, CHC IP, ZR * 35 LoProb ZR/IP
IP * * --, - 36 HiProb IP-
IP * * m 37 HiProb IP
IP * * + 38 HiProb IP+
ZL * * * 39 HiProb ZL
R, L * ZL * 40 HiProb ZL/R
ZL * R *
ZR * * --, - 41 HiProb ZR-
ZR * * m 42 HiProb ZR
ZR * * + 43 HiProb ZR+
R, ZR * ZR, R * 44 HiProb ZR/R
ZR, IP * IP, ZR * 45 HiProb ZR/IP
SW SCT, SCHC, PATCHY, ISO, CHC * * 46 LoProb SW
S SCT, SCHC, PATCHY, ISO, CHC * -, -- 47 LoProb S-
S SCT, SCHC, PATCHY, ISO, CHC * m 48 LoProb S
S SCT, SCHC, PATCHY, ISO, CHC * + 49 LoProb S+
SW * * * 50 HiProb SW
S * * -, -- 51 HiProb S-
S * * m 52 HiProb S
S * * + 53 HiProb S+
F * * * 54 F
H * * * 55 H
K * * * 56 K
BS * * * 57 BS
BD * * * 58 BD

Note: "L : SCT, SCHC, PATCHY, ISO, CHC : ZL" should probably be 30 based on what was done for 40.