Skip to content

Instantly share code, notes, and snippets.

@alan-ho
Last active January 4, 2018 01:27
Show Gist options
  • Select an option

  • Save alan-ho/93deec75f4263634679f99f823e113a1 to your computer and use it in GitHub Desktop.

Select an option

Save alan-ho/93deec75f4263634679f99f823e113a1 to your computer and use it in GitHub Desktop.
NEA Weather JSON objects
weather_mapping = {
"CL": "Cloudy",
"DR": "Drizzle",
"FA": "Fair (Day)",
"FG": "Fog",
"FN": "Fair (Night)",
"FW": "Fair & Warm",
"HG": "Heavy Thundery Showers with Gusty Winds",
"HR": "Heavy Rain",
"HS": "Heavy Showers",
"HT": "Heavy Thundery Showers",
"HZ": "Hazy",
"LH": "Slightly Hazy",
"LR": "Light Rain",
"LS": "Light Showers",
"OC": "Overcast",
"PC": "Partly Cloudy (Day)",
"PN": "Partly Cloudy (Night)",
"PS": "Passing Showers",
"RA": "Moderate Rain",
"SH": "Showers",
"SK": "Strong Winds, Showers",
"SN": "Snow",
"SR": "Strong Winds, Rain",
"SS": "Snow Showers",
"SU": "Sunny",
"SW": "Strong Winds",
"TL": "Thundery Showers",
"WC": "Windy, Cloudy",
"WD": "Windy",
"WF": "Windy, Fair",
"WR": "Windy, Rain",
"WS": "Windy, Showers"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment