AWFStormThreat
Objective-C
@interface AWFStormThreat : AWFWeatherObject
Swift
class AWFStormThreat : AWFWeatherObject
An AWFStormThreat object represents storm threatdata returned by the threats endpoint
of the Aeris Weather API.
-
DBZ (intensity) reported within the threat area.
Declaration
Objective-C
@property (nonatomic, strong) AWFRangeSummary *_Nonnull dbz;Swift
var dbz: AWFRangeSummary { get set }
-
The Cardinal direction from which the threat area is approaching.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *directionFrom;Swift
var directionFrom: String? { get set } -
The bearing in degrees from which the threat area is approaching.
Declaration
Objective-C
@property (nonatomic) CGFloat directionFromDEG;Swift
var directionFromDEG: CGFloat { get set } -
The Cardinal direction to which the threat area is moving.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *directionTo;Swift
var directionTo: String? { get set } -
The bearing in degress to which the threat area is moving.
Declaration
Objective-C
@property (nonatomic) CGFloat directionToDEG;Swift
var directionToDEG: CGFloat { get set } -
Arc span angle indicating the coverage and size of the threat area. Larger clusters of storms within a short distance from a location will result in larger span angles.
Declaration
Objective-C
@property (nonatomic) CGFloat span;Swift
var span: CGFloat { get set }
-
Distance to the threat area in kilomters.
Declaration
Objective-C
@property (nonatomic, strong) AWFRangeSummary *_Nonnull distanceKM;Swift
var distanceKM: AWFRangeSummary { get set } -
Distance to the threat area in miles.
Declaration
Objective-C
@property (nonatomic, strong) AWFRangeSummary *_Nonnull distanceMI;Swift
var distanceMI: AWFRangeSummary { get set }
-
The speed the threat area is moving in knots.
Declaration
Objective-C
@property (nonatomic, strong) AWFRangeSummary *_Nonnull speedKTS;Swift
var speedKTS: AWFRangeSummary { get set } -
The speed the threat area is moving in miles per hour.
Declaration
Objective-C
@property (nonatomic, strong) AWFRangeSummary *_Nonnull speedMPH;Swift
var speedMPH: AWFRangeSummary { get set } -
The speed the threat area is moving in kilometers per hour.
Declaration
Objective-C
@property (nonatomic, strong) AWFRangeSummary *_Nonnull speedKMH;Swift
var speedKMH: AWFRangeSummary { get set }
-
Probability the cell contains severe hail (¾" diameter or higher) as a percentage.
Declaration
Objective-C
@property (nonatomic) CGFloat hailSevereProbability;Swift
var hailSevereProbability: CGFloat { get set } -
Probabilty the cell contains hail of any size.
Declaration
Objective-C
@property (nonatomic) CGFloat hailProbability;Swift
var hailProbability: CGFloat { get set } -
Maximum diameter of hail stones found within the cell in inches.
Declaration
Objective-C
@property (nonatomic) CGFloat hailMaxSizeIN;Swift
var hailMaxSizeIN: CGFloat { get set } -
Estimated number of lightning strikes within any threat area near the location within a 10-15 mile radius. If lightning strikes were not detected or your API account is not licensed for lightning data, this value will be
0.Declaration
Objective-C
@property (nonatomic) NSInteger lightningCountNearby;Swift
var lightningCountNearby: Int { get set } -
Estimated number of lightning strikes found within an approaching threat. If lightning strikes were not detected or your API account is not licensed for lightning data, this value will be
0.Declaration
Objective-C
@property (nonatomic) NSInteger lightningCountApproaching;Swift
var lightningCountApproaching: Int { get set } -
A Boolean indicating whether the threat area is approaching the location.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isApproaching;Swift
var isApproaching: Bool { get } -
A Boolean indicating whether lightning is found within the threat area.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL hasLightning;Swift
var hasLightning: Bool { get } -
A Boolean indicating whether hail is found within the threat area.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL hasHail;Swift
var hasHail: Bool { get } -
A Boolean indicating whether rotation is found within the threat area.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL hasRotation;Swift
var hasRotation: Bool { get } -
A Boolean indicating whether a tornado or tornadic signature is found within the threat area. If
YES, this does NOT always indicate a tornado is found within the threat area and should be combined with the latest advisory data.Declaration
Objective-C
@property (nonatomic, readonly) BOOL isTornadic;Swift
var isTornadic: Bool { get }
-
Shortened version of the
longPhrasethat dosn’t display specific threat details, like hail size or lightning.Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *phraseShort;Swift
var phraseShort: String? { get set } -
Full phrase detailing information about the threats.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *phraseLong;Swift
var phraseLong: String? { get set }
View on GitHub
AWFStormThreat Class Reference