summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weather.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/weather.go b/weather.go
index 961b418..b0d344f 100644
--- a/weather.go
+++ b/weather.go
@@ -100,26 +100,38 @@ type WeatherParams struct {
WT int // Weather Type
}
-// TODO: complete this mapping
var TypeDescription = map[int]string{
0: "Clear Sky",
1: "Sunny",
2: "Partly Cloudy",
3: "Sunny Intervals",
+ 4: "Unknown",
5: "Mist",
+ 6: "Fog",
7: "Light Cloud",
8: "Thick Cloud",
9: "Light Rain Showers",
10: "Light Rain Showers",
11: "Drizzle",
12: "Light Rain",
+ 13: "Heavy Rain Showers",
14: "Heavy Rain Showers",
15: "Heavy Rain",
+ 16: "Sleet Showers",
+ 17: "Sleet Showers",
18: "Sleet",
19: "Hail Showers",
20: "Hail Showers",
+ 21: "Hail",
+ 22: "Light Snow Showers",
+ 23: "Light Snow Showers",
+ 24: "Light Snow",
+ 25: "Heavy Snow Showers",
+ 26: "Heavy Snow Showers",
+ 27: "Heavy Snow",
28: "Thundery Showers",
29: "Thundery Showers",
+ 30: "Thunder",
}
// Our prefered struct