Class Hourly
- Namespace
- SimpleWeather
- Assembly
- SimpleWeather.dll
Represents a single hourly forecast entry from the One Call API.
public class Hourly
- Inheritance
-
Hourly
- Inherited Members
Properties
Clouds
Cloudiness, %
public double? Clouds { get; }
Property Value
- double?
Cloudiness, %
DT
Time of the forecasted data, UTC
public DateTime? DT { get; }
Property Value
- DateTime?
Time of the forecasted data, UTC
DewPoint
Atmospheric temperature (varying according to pressure and humidity) below which water droplets begin to condense and dew can form.
public double? DewPoint { get; }
Property Value
- double?
Atmospheric temperature (varying according to pressure and humidity) below which water droplets begin to condense and dew can form.
FeelsLike
Temperature. This accounts for the human perception of weather.
public double? FeelsLike { get; }
Property Value
- double?
Temperature. This accounts for the human perception of weather.
Humidity
Humidity, %
public double? Humidity { get; }
Property Value
- double?
Humidity, %
PrecipitationProbability
Probability of precipitation in percents. The values of the parameter vary between 0 and 100
public double? PrecipitationProbability { get; }
Property Value
- double?
Probability of precipitation in percents. The values of the parameter vary between 0 and 100
Pressure
Atmospheric pressure on the sea level, hPa
public double? Pressure { get; }
Property Value
- double?
Atmospheric pressure on the sea level, hPa
Rain
Gets the rainfall totals for the hour.
public Rain? Rain { get; }
Property Value
- Rain
The rainfall totals for the hour.
Snow
Gets the snowfall totals for the hour.
public Snow? Snow { get; }
Property Value
- Snow
The snowfall totals for the hour.
Temperature
Temperature
public double? Temperature { get; }
Property Value
- double?
Temperature
Uvi
UV index
public double? Uvi { get; }
Property Value
- double?
UV index
Visibility
Visibility in meters.
public double? Visibility { get; }
Property Value
- double?
Visibility in meters.
Weather
Gets the descriptive weather information.
public Weather? Weather { get; }
Property Value
- Weather
The descriptive weather information.
WindDegree
Wind direction, degrees (meteorological)
public double? WindDegree { get; }
Property Value
- double?
Wind direction, degrees (meteorological)
WindDirectionLong
Long wind direction represented by a string (North, East, South, West, etc.)
public string? WindDirectionLong { get; }
Property Value
- string
Long wind direction represented by a string (North, East, South, West, etc.)
WindDirectionShort
Short wind direction represented by a string (N, E, S, W, etc.)
public string? WindDirectionShort { get; }
Property Value
- string
Short wind direction represented by a string (N, E, S, W, etc.)
WindGust
Wind gust. Default Unit: meter/sec
public double? WindGust { get; }
Property Value
- double?
Wind gust. Default Unit: meter/sec
WindSpeed
Wind speed. Default Unit: meter/sec
public double? WindSpeed { get; }
Property Value
- double?
Wind speed. Default Unit: meter/sec
Methods
FromJson(string?)
Creates this model from its OpenWeather JSON fragment.
public static Hourly FromJson(string? json)
Parameters
jsonstringThe JSON fragment, or null for an empty model.
Returns
- Hourly
The parsed weather model.