AWFStormCell
Objective-C
@interface AWFStormCell : AWFGeographicObject
Swift
class AWFStormCell : AWFGeographicObject
An AWFStormCell object represents data returned by the stormcells endpoint
of the Aeris Weather API.
-
GMT date of the cell observation.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *timestamp;Swift
var timestamp: Date? { get set } -
Location of the cell relative to the nearest populated place.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *location;Swift
var location: String? { get set }
-
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *code;Swift
var code: String? { get set } -
Radar station ID reporting the cell.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *radarId;Swift
var radarId: String? { get set } -
Unique cell identifier.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *cellId;Swift
var cellId: String? { get set } -
Tornado vortex signature (TVS).
If the cell contains a tornadic signature or a tornado has been reported, this value will be
1, otherwise0.Declaration
Objective-C
@property (nonatomic) CGFloat tvs;Swift
var tvs: CGFloat { get set } -
Mesocyclone rotation (MESO).
Declaration
Objective-C
@property (nonatomic) CGFloat mda;Swift
var mda: CGFloat { get set } -
Vertically integrated liquid value for the cell.
Declaration
Objective-C
@property (nonatomic) CGFloat vil;Swift
var vil: CGFloat { get set } -
Highest reflectivity indicated within the cell.
Declaration
Objective-C
@property (nonatomic) CGFloat maxDbz;Swift
var maxDbz: CGFloat { get set } -
Height of the storm in feet.
Declaration
Objective-C
@property (nonatomic) CGFloat topFT;Swift
var topFT: CGFloat { get set } -
Height of the storm structure.
Declaration
Objective-C
@property (nonatomic) CGFloat height;Swift
var height: CGFloat { 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 } -
Distance of the cell relative to the requested location in kilometers.
Declaration
Objective-C
@property (nonatomic) CGFloat distanceKM;Swift
var distanceKM: CGFloat { get set } -
Distance of the cell relative to the requested location in miles.
Declaration
Objective-C
@property (nonatomic) CGFloat distanceMI;Swift
var distanceMI: CGFloat { get set } -
Direction to the cell relative to the requested location in degrees.
Declaration
Objective-C
@property (nonatomic) CGFloat bearingDEG;Swift
var bearingDEG: CGFloat { get set } -
Cardinal direction to the cell relative to the requested location.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *bearing;Swift
var bearing: String? { get set } -
Cardinal direction the cell is moving.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *movingDirection;Swift
var movingDirection: String? { get set } -
Direction the cell is moving in degrees.
Declaration
Objective-C
@property (nonatomic) CGFloat movingDirectionDEG;Swift
var movingDirectionDEG: CGFloat { get set } -
Speed the cell is moving in knots.
Declaration
Objective-C
@property (nonatomic) CGFloat movingSpeedKTS;Swift
var movingSpeedKTS: CGFloat { get set } -
Speed the cell is moving in miles per hour.
Declaration
Objective-C
@property (nonatomic) CGFloat movingSpeedMPH;Swift
var movingSpeedMPH: CGFloat { get set } -
Speed the cell is moving in kilometers per hour.
Declaration
Objective-C
@property (nonatomic) CGFloat movingSpeedKMH;Swift
var movingSpeedKMH: CGFloat { get set }
-
An array of AFStormCellForecast instances returned for this cell.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<AWFStormCellForecast *> *forecast;Swift
var forecast: [AWFStormCellForecast]? { get set } -
Array of coordinates (latitude, longitude) defining a 20-degree cone of error along the forecast path.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<AWFGeoPolygonCoordValue> *forecastConeWide;Swift
var forecastConeWide: [[NSNumber]]? { get set } -
Array of coordinates (latitude, longitude) defining a 5-degree cone of error along the forecast path which can be used to better determine locations along the forecast path of the storm.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<AWFGeoPolygonCoordValue> *forecastConeNarrow;Swift
var forecastConeNarrow: [[NSNumber]]? { get set } -
A Boolean indicating whether the storm cell is affecting the specified place by comparing distance and whether or not the storm cell is moving toward the location.
Declaration
Objective-C
- (BOOL)affectsPlace:(nonnull AWFPlace *)place;Swift
func affectsPlace(_ place: AWFPlace) -> BoolParameters
placeThe place to determine if the cell is affecting
Return Value
YESif the cell is affecting the place, otherwiseNO -
A Boolean indicating whether the storm cell is approaching the specified place based on the cell’s distance and moving direction.
Declaration
Objective-C
- (BOOL)isMovingTowardPlace:(nonnull AWFPlace *)place;Swift
func isMovingTowardPlace(_ place: AWFPlace) -> BoolParameters
placeThe place to determine if the cell is approaching
Return Value
YESif the cell is apporaching the place, otherwiseNO
View on GitHub
AWFStormCell Class Reference