AWFConditionPeriod

Objective-C

@interface AWFConditionPeriod : AWFWeatherObject

Swift

class AWFConditionPeriod : AWFWeatherObject

An AWFConditionPeriod object represents data for a single period returned by the conditions endpoint of the AerisWeather API.

  • GMT Date of the observation.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSDate *timestamp;

    Swift

    var timestamp: Date? { get set }
  • Local timezone for the period.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSTimeZone *timeZone;

    Swift

    var timeZone: TimeZone? { get set }

Weather & Clouds

  • Primary weather phrase.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *weather;

    Swift

    var weather: String? { get set }
  • Coded weather for the primary weather observed.

    The coded weather values can often be used for translating the weather observed. Refer to the Weather Codes API documentation for additional information.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *weatherCoded;

    Swift

    var weatherCoded: String? { get set }
  • Full weather phrase.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *weatherFull;

    Swift

    var weatherFull: String? { get set }
  • Full set of weather codes for the weather.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *weatherFullCoded;

    Swift

    var weatherFullCoded: String? { get set }
  • Weather icon representing the weather from the default icon set.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *icon;

    Swift

    var icon: String? { get set }
  • Sky coverage code.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *cloudsCoded;

    Swift

    var cloudsCoded: String? { get set }
  • Percentage of the sky covered by clouds. A value of 0 indicates clear sky conditions, while a value of 100 indicates entirely overcast sky conditions.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat skyCoverPercentage;

    Swift

    var skyCoverPercentage: CGFloat { get set }

Temperatures

  • Temperature in degrees Fahrenheit.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat tempF;

    Swift

    var tempF: CGFloat { get set }
  • Temperature in degrees Celsius.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat tempC;

    Swift

    var tempC: CGFloat { get set }
  • Apparent temperature in degrees Fahrenheit.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat feelslikeF;

    Swift

    var feelslikeF: CGFloat { get set }
  • Apparent temperature in degrees Celsius.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat feelslikeC;

    Swift

    var feelslikeC: CGFloat { get set }
  • Dew point temperature in degrees Fahrenheit.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat dewpointF;

    Swift

    var dewpointF: CGFloat { get set }
  • Dew point temperature in degrees Celsius.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat dewpointC;

    Swift

    var dewpointC: CGFloat { get set }
  • Calculated relative humidity as a percentage.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat humidity;

    Swift

    var humidity: CGFloat { get set }

Winds

  • Cardinal wind direction.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *windDirection;

    Swift

    var windDirection: String? { get set }
  • Wind direction in degrees (0=North).

    Declaration

    Objective-C

    @property (nonatomic) CGFloat windDirectionDEG;

    Swift

    var windDirectionDEG: CGFloat { get set }
  • Wind speed in knots.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat windSpeedKTS;

    Swift

    var windSpeedKTS: CGFloat { get set }
  • Wind speed in miles per hour.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat windSpeedMPH;

    Swift

    var windSpeedMPH: CGFloat { get set }
  • Wind speed in kilometers per hour.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat windSpeedKMH;

    Swift

    var windSpeedKMH: CGFloat { get set }
  • Wind gust speed in knots.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat windGustKTS;

    Swift

    var windGustKTS: CGFloat { get set }
  • Wind gust speed in miles per hour.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat windGustMPH;

    Swift

    var windGustMPH: CGFloat { get set }
  • Wind gust speed in kilometers per hour.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat windGustKMH;

    Swift

    var windGustKMH: CGFloat { get set }

Barometric Pressure

  • Mean sea level pressure (MSLP) in inches of mercury.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat pressureIN;

    Swift

    var pressureIN: CGFloat { get set }
  • Mean sea level pressure (MSLP) in millibars.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat pressureMB;

    Swift

    var pressureMB: CGFloat { get set }

Visibility

  • Visibility in kilometers.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat visibilityKM;

    Swift

    var visibilityKM: CGFloat { get set }
  • Visibility in miles.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat visibilityMI;

    Swift

    var visibilityMI: CGFloat { get set }

Precipitation

  • Estimated amount of precipitation in inches.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat precipIN;

    Swift

    var precipIN: CGFloat { get set }
  • Estimated amount of precipitation in millimeters.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat precipMM;

    Swift

    var precipMM: CGFloat { get set }
  • Precipitation rate in inches/hour at the point in time of the period.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat precipRateIN;

    Swift

    var precipRateIN: CGFloat { get set }
  • Precipitation rate in millimeters/hour at the point in time of the period.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat precipRateMM;

    Swift

    var precipRateMM: CGFloat { get set }
  • Estimated amount of snowfall for the period in inches.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat snowIN;

    Swift

    var snowIN: CGFloat { get set }
  • Estimated amount of snowfall for the period in centimeters.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat snowCM;

    Swift

    var snowCM: CGFloat { get set }
  • Snowfall rate in inches/hour at the point in time of the period.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat snowRateIN;

    Swift

    var snowRateIN: CGFloat { get set }
  • Snowfall rate in centimeters/hour at the point in time of the period.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat snowRateCM;

    Swift

    var snowRateCM: CGFloat { get set }

Other

  • UV index for the period.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat uvIndex;

    Swift

    var uvIndex: CGFloat { get set }
  • Solar radiation in watts per square meter.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat solarRadiationWM2;

    Swift

    var solarRadiationWM2: CGFloat { get set }
  • Whether or not the period occurred during daylight hours based on sunrise and sunset times.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isDay;

    Swift

    var isDay: Bool { get set }