Other Constants
The following constants are available globally.
-
The default model type.
Declaration
Objective-C
extern const AWFForecastModelType _Nonnull AWFForecastModelTypeAerisSwift
static let aeris: AWFForecastModelType -
NDFD (National Digital Forecast Database) model.
Declaration
Objective-C
extern const AWFForecastModelType _Nonnull AWFForecastModelTypeNDFDSwift
static let NDFD: AWFForecastModelType -
HRRR (High Resolution Rapid Refresh) model.
Declaration
Objective-C
extern const AWFForecastModelType _Nonnull AWFForecastModelTypeHRRRSwift
static let HRRR: AWFForecastModelType -
HRRR (High Resolution Rapid Refresh) sub-hourly model.
Declaration
Objective-C
extern const AWFForecastModelType _Nonnull AWFForecastModelTypeHRRRSubSwift
static let hrrrSub: AWFForecastModelType -
NAM (North Americal Mesoscale) model.
Declaration
Objective-C
extern const AWFForecastModelType _Nonnull AWFForecastModelTypeNAMSwift
static let NAM: AWFForecastModelType -
GFS (Global Forecast System) model.
Declaration
Objective-C
extern const AWFForecastModelType _Nonnull AWFForecastModelTypeGFSSwift
static let GFS: AWFForecastModelType -
The closest action of the API.
Declaration
Objective-C
extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionClosestSwift
static let closest: AWFWeatherRequestAction -
The within action of the API.
Declaration
Objective-C
extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionWithinSwift
static let within: AWFWeatherRequestAction -
The search action of the API.
Declaration
Objective-C
extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionSearchSwift
static let search: AWFWeatherRequestAction -
The affects action of the API.
Declaration
Objective-C
extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionAffectsSwift
static let affects: AWFWeatherRequestAction -
The contains action of the API.
Declaration
Objective-C
extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionContainsSwift
static let contains: AWFWeatherRequestAction -
Returns all results for the request. Not supported for most endpoints.
Declaration
Objective-C
extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionAllSwift
static let all: AWFWeatherRequestAction
-
Celsius unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitCelsiusSwift
static let celsius: AWFUnit -
Fahrenheit unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitFahrenheitSwift
static let fahrenheit: AWFUnit -
Kilometers unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitKilometersSwift
static let kilometers: AWFUnit -
Meters unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitMetersSwift
static let meters: AWFUnit -
Centimeters unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitCentimetersSwift
static let centimeters: AWFUnit -
Millimeters unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitMillimetersSwift
static let millimeters: AWFUnit -
Miles unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitMilesSwift
static let miles: AWFUnit -
Feet unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitFeetSwift
static let feet: AWFUnit -
Inches unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitInchesSwift
static let inches: AWFUnit -
Kilometers per hour unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitKilometersPerHourSwift
static let kilometersPerHour: AWFUnit -
Miles per hour unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitMilesPerHourSwift
static let milesPerHour: AWFUnit -
Meters per second unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitMetersPerSecondSwift
static let metersPerSecond: AWFUnit -
Knots unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitKnotsSwift
static let knots: AWFUnit -
Percent unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitPercentSwift
static let percent: AWFUnit -
Millibars unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitMillibarsSwift
static let millibars: AWFUnit -
Milligrams per cubic meters unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitMilligramsPerCubicMetersSwift
static let milligramsPerCubicMeters: AWFUnit -
Decibels (radar) unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitDbzSwift
static let dbz: AWFUnit -
Amps unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitAmpsSwift
static let amps: AWFUnit -
Kilowamps unit string
Declaration
Objective-C
extern const AWFUnit _Nonnull AWFUnitKiloampsSwift
static let kiloamps: AWFUnit
View on GitHub
Other Constants Reference