AWFRecord
Objective-C
@interface AWFRecord : AWFGeographicObject
Swift
class AWFRecord : AWFGeographicObject
An AWFRecord
object represents data returned by the records endpoint
of the Aeris Weather API.
-
Record type as a code.
prcp
: precipitation/rainsnow
: snowmaxt
: maximum temperaturemint
: minimum temperaturehimn
: high minimum temperaturelomx
: low maximum temperature
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *type;
Swift
var type: String? { get set }
-
Numeric representation of the record type.
Declaration
Objective-C
@property (nonatomic) CGFloat code;
Swift
var code: CGFloat { get set }
-
Station id where the record occurred.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *stationId;
Swift
var stationId: String? { get set }
-
Type of reporting station.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *stationType;
Swift
var stationType: String? { get set }
-
Name of the reporting station.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *stationName;
Swift
var stationName: String? { get set }
-
Brief description of the event, usually contains the location or relative distance from a populated place.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *name;
Swift
var name: String? { get set }
-
GMT date when the new record took place.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *timestamp;
Swift
var timestamp: Date? { get set }
-
Actual reported value from the report (rainfall or snowfall total, temperature, etc).
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *value;
Swift
var value: String? { get set }
-
For snow-related records, the observed snowfall in inches.
Declaration
Objective-C
@property (nonatomic) CGFloat snowIN;
Swift
var snowIN: CGFloat { get set }
-
For snow-related records, the observed snowfall in centimeters.
Declaration
Objective-C
@property (nonatomic) CGFloat snowCM;
Swift
var snowCM: CGFloat { get set }
-
For rain-related records, the observed rainfall in inches.
Declaration
Objective-C
@property (nonatomic) CGFloat rainIN;
Swift
var rainIN: CGFloat { get set }
-
For rain-related records, the observed rainfall in millimeters.
Declaration
Objective-C
@property (nonatomic) CGFloat rainMM;
Swift
var rainMM: CGFloat { get set }
-
For temperature-related records, the observed temperature in degrees Fahrenheit.
Declaration
Objective-C
@property (nonatomic) CGFloat tempF;
Swift
var tempF: CGFloat { get set }
-
For temperature-related records, the observed temperature in degrees Celsius.
Declaration
Objective-C
@property (nonatomic) CGFloat tempC;
Swift
var tempC: CGFloat { get set }
-
GMT date when the previous record took place.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *previousTimestamp;
Swift
var previousTimestamp: Date? { get set }
-
Actual previous value from the report (rainfall or snowfall total, temperature, etc).
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *previousValue;
Swift
var previousValue: String? { get set }
-
For snow-related records, the previously observed snowfall in inches.
Declaration
Objective-C
@property (nonatomic) CGFloat previousSnowIN;
Swift
var previousSnowIN: CGFloat { get set }
-
For snow-related records, the previously observed snowfall in centimeters.
Declaration
Objective-C
@property (nonatomic) CGFloat previousSnowCM;
Swift
var previousSnowCM: CGFloat { get set }
-
For rain-related records, the previously observed rainfall in inches.
Declaration
Objective-C
@property (nonatomic) CGFloat previousRainIN;
Swift
var previousRainIN: CGFloat { get set }
-
For rain-related records, the previously observed rainfall in millimeters.
Declaration
Objective-C
@property (nonatomic) CGFloat previousRainMM;
Swift
var previousRainMM: CGFloat { get set }
-
For temperature-related records, the previously observed temperature in degrees Fahrenheit.
Declaration
Objective-C
@property (nonatomic) CGFloat previousTempF;
Swift
var previousTempF: CGFloat { get set }
-
For temperature-related records, the previously observed temperature in degrees Celsius.
Declaration
Objective-C
@property (nonatomic) CGFloat previousTempC;
Swift
var previousTempC: CGFloat { get set }
-
Whether or not the record was tied.
Declaration
Objective-C
@property (nonatomic) BOOL isTied;
Swift
var isTied: Bool { get set }