Created
September 14, 2023 22:01
-
-
Save liudasbar/f0efcf006266a192bfc2617e99a65d3f to your computer and use it in GitHub Desktop.
OpenWeatherMap (One Call API) Types of severe weather (tags) for decoding
This file contains hidden or 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
enum WeatherHazardType: String, Codable { | |
case rain = "Rain" | |
case snowIce = "Snow/Ice" | |
case thunderstorm = "Thunderstorm" | |
case fog = "Fog" | |
case extremeTemperature = "Extreme temperature value" | |
case wind = "Wind" | |
case fireWarning = "Fire warning" | |
case coastalEvent = "Marine event" | |
case flooding = "Flood" | |
case avalanches = "Avalanches" | |
case otherDangers = "Other dangers" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OpenWeatherMap uses https://meteoalarm.org/ as source. MeteoAlarm provides a list of hazard types.