struct
OpenMeteo::Forecast
- OpenMeteo::Forecast
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
open_meteo/forecast.cropen_meteo/forecast/current.cr
open_meteo/forecast/daily.cr
open_meteo/forecast/hourly.cr
open_meteo/forecast/settings.cr
open_meteo/forecast/variables.cr
Constant Summary
-
WEATHER_CODES =
{0 => "Clear Sky", 1 => "Mainly Clear", 2 => "Partly Cloudy", 3 => "Overcast", 45 => "Fog", 48 => "Depositing Rime Fog", 51 => "Light Drizzle", 53 => "Moderate Drizzle", 55 => "Dense Drizzle", 56 => "Light Freezing Drizzle", 57 => "Dense Freezing Drizzle", 61 => "Light Rain", 63 => "Moderate Rain", 65 => "Heavy Rain", 66 => "Light Freezing Rain", 67 => "Heavy Freezing Rain", 71 => "Light Snow", 73 => "Moderate Snow", 75 => "Heavy Snow", 77 => "Snow Grains", 80 => "Light Rain Showers", 81 => "Moderate Rain Showers", 82 => "Heavy Rain Showers", 85 => "Light Snow Showers", 86 => "Heavy Snow Showers", 95 => "Thunderstorm", 96 => "Thunderstorm with Light Hail", 99 => "Thunderstorm with Heavy Hail"}
Constructors
Instance Method Summary
- #current : Current | Nil
- #current_units : Current::Units | Nil
- #daily : Daily | Nil
- #daily_units : Daily::Units | Nil
- #elevation : Float64
- #generationtime_ms : Float64
- #hourly : Hourly | Nil
- #hourly_units : Hourly::Units | Nil
- #latitude : Float64
- #longitude : Float64
- #timezone : String
- #timezone_abbreviation : String
- #utc_offset_seconds : Int32