-
Notifications
You must be signed in to change notification settings - Fork 0
/
WeatherMap.cs
65 lines (62 loc) · 1.97 KB
/
WeatherMap.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
using System.Collections.Generic;
namespace BlazorMetar
{
public static class WeatherMap
{
public static readonly Dictionary<string, string> weatherMap = new Dictionary<string, string>
{
{"RA", "Rain"},
{"DZ", "Drizzle"},
{"SN", "Snow"},
{"SG", "Snow Grains"},
{"IC", "Ice Crystals"},
{"PL", "Ice Pellets"},
{"GR", "Hail"},
{"GS", "Small Hail"},
{"UP", "Unknown Precipitation"},
{"BR", "Mist"},
{"FG", "Fog"},
{"FU", "Smoke"},
{"VA", "Volcanic Ash"},
{"DU", "Widespread Dust"},
{"SA", "Sand"},
{"HZ", "Haze"},
{"PO", "Well-Developed Dust/Sand Whirls"},
{"SQ", "Squalls"},
{"FC", "Funnel Cloud"},
{"SS", "Sandstorm"},
{"DS", "Duststorm"},
{"MIFG", "Shallow Fog"},
{"BCFG", "Patches of Fog"},
{"SH", "Showers"},
{"PY", "Spray"},
{"TS", "Thunderstorm"},
{"CC", "Cloud-cloud lightning"},
{"CA", "Cloud-air lightning"},
{"CG", "Cloud-ground lightning"},
{"+", "Heavy"},
{"-", "Light"}
};
public static readonly Dictionary<string, string> cloudMap = new Dictionary<string, string>
{
{"FEW", "Few"},
{"SCT", "Scattered"},
{"BKN", "Broken"},
{"OVC", "Overcast"},
{"CLR", "Clear"},
{"NCD", "No Cloud Detected"}
};
public static readonly Dictionary<string, string> cumulonimbusMap = new Dictionary<string, string>
{
{"OHD", "Overhead"},
{"NE", "Northeast"},
{"NW", "Northwest"},
{"SE", "Southeast"},
{"SW", "Southwest"},
{"N", "North"},
{"S", "South"},
{"E", "East"},
{"W", "West"}
};
}
}