Created
October 15, 2020 07:06
-
-
Save iamspark1e/fb45b1fe8fee3da13f6f097e3b2938b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var wCodeMap = { | |
"0": "sunny", // "晴", | |
"1": "cloudy", // "多云", | |
"2": "overcast", // "阴", | |
"3": "shower", // "阵雨", | |
"4": "thundery-shower", // "雷阵雨", | |
"5": "hail", // "冰雹", | |
"6": "sleet", // "雨夹雪", | |
"7": "drizzle", // "小雨", | |
"8": "rain", // "中雨", | |
"9": "heavy-rain", // "大雨", | |
"10": "rainstorm", // "暴雨", | |
"11": "downpour", // "大暴雨", | |
"12": "extra-downpour", // "特大暴雨", | |
"13": "snow-showers", // "阵雪", | |
"14": "light-snow", // "小雪", | |
"15": "snow", // "中雪", | |
"16": "heavy-snow", // "大雪", | |
"17": "blizzard", // "暴雪", | |
"18": "foggy", // "雾", | |
"19": "freezing-rain", // "冻雨", | |
"20": "sandstorm", // "沙尘暴", | |
"21": "drizzle-2-rain", // "小到中雨", | |
"22": "rain-2-heavy-rain", // "中到大雨", | |
"23": "heavy-rain-2-rainstorm", // "大到暴雨", | |
"24": "rainstorm-to-downpour", // "暴雨到大暴雨", | |
"25": "downpour-2-extra-downpour", // "大暴雨到特大暴雨", | |
"26": "light-snow-2-snow", // "小到中雪", | |
"27": "snow-2-heavy-snow", // "中到大雪", | |
"28": "heavy-snow-2-blizzard", // "大到暴雪", | |
"29": "dust", // "浮尘", | |
"30": "sand", // "扬沙", | |
"31": "strong-sandstorm", // "强沙尘暴", | |
"32": "dense-fog", // "浓雾", | |
"49": "strong-fog", // "强浓雾", | |
"53": "haze", // "霾", | |
"54": "moderate-haze", // "中度霾", | |
"55": "moderate-haze", // "中度霾", | |
"56": "strong-haze", // "严重霾", | |
"57": "heavy-fog", // "大雾", | |
"58": "extra-strong-fog", // "特强浓雾", | |
"99": "", // "无" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment