Other Constants

The following constants are available globally.

  • The default model type.

    Declaration

    Objective-C

    extern const AWFForecastModelType _Nonnull AWFForecastModelTypeAeris

    Swift

    static let aeris: AWFForecastModelType
  • NDFD (National Digital Forecast Database) model.

    Declaration

    Objective-C

    extern const AWFForecastModelType _Nonnull AWFForecastModelTypeNDFD

    Swift

    static let NDFD: AWFForecastModelType
  • HRRR (High Resolution Rapid Refresh) model.

    Declaration

    Objective-C

    extern const AWFForecastModelType _Nonnull AWFForecastModelTypeHRRR

    Swift

    static let HRRR: AWFForecastModelType
  • HRRR (High Resolution Rapid Refresh) sub-hourly model.

    Declaration

    Objective-C

    extern const AWFForecastModelType _Nonnull AWFForecastModelTypeHRRRSub

    Swift

    static let hrrrSub: AWFForecastModelType
  • NAM (North Americal Mesoscale) model.

    Declaration

    Objective-C

    extern const AWFForecastModelType _Nonnull AWFForecastModelTypeNAM

    Swift

    static let NAM: AWFForecastModelType
  • GFS (Global Forecast System) model.

    Declaration

    Objective-C

    extern const AWFForecastModelType _Nonnull AWFForecastModelTypeGFS

    Swift

    static let GFS: AWFForecastModelType
  • The closest action of the API.

    Declaration

    Objective-C

    extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionClosest

    Swift

    static let closest: AWFWeatherRequestAction
  • The within action of the API.

    Declaration

    Objective-C

    extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionWithin

    Swift

    static let within: AWFWeatherRequestAction
  • The search action of the API.

    Declaration

    Objective-C

    extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionSearch

    Swift

    static let search: AWFWeatherRequestAction
  • The affects action of the API.

    Declaration

    Objective-C

    extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionAffects

    Swift

    static let affects: AWFWeatherRequestAction
  • The contains action of the API.

    Declaration

    Objective-C

    extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionContains

    Swift

    static let contains: AWFWeatherRequestAction
  • Returns all results for the request. Not supported for most endpoints.

    Declaration

    Objective-C

    extern const AWFWeatherRequestAction _Nonnull AWFWeatherRequestActionAll

    Swift

    static let all: AWFWeatherRequestAction

Unit Conversions

  • Celsius unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitCelsius

    Swift

    static let celsius: AWFUnit
  • Fahrenheit unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitFahrenheit

    Swift

    static let fahrenheit: AWFUnit
  • Kilometers unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitKilometers

    Swift

    static let kilometers: AWFUnit
  • Meters unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitMeters

    Swift

    static let meters: AWFUnit
  • Centimeters unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitCentimeters

    Swift

    static let centimeters: AWFUnit
  • Millimeters unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitMillimeters

    Swift

    static let millimeters: AWFUnit
  • Miles unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitMiles

    Swift

    static let miles: AWFUnit
  • Feet unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitFeet

    Swift

    static let feet: AWFUnit
  • Inches unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitInches

    Swift

    static let inches: AWFUnit
  • Kilometers per hour unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitKilometersPerHour

    Swift

    static let kilometersPerHour: AWFUnit
  • Miles per hour unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitMilesPerHour

    Swift

    static let milesPerHour: AWFUnit
  • Meters per second unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitMetersPerSecond

    Swift

    static let metersPerSecond: AWFUnit
  • Knots unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitKnots

    Swift

    static let knots: AWFUnit
  • Percent unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitPercent

    Swift

    static let percent: AWFUnit
  • Millibars unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitMillibars

    Swift

    static let millibars: AWFUnit
  • Milligrams per cubic meters unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitMilligramsPerCubicMeters

    Swift

    static let milligramsPerCubicMeters: AWFUnit
  • Decibels (radar) unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitDbz

    Swift

    static let dbz: AWFUnit
  • Amps unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitAmps

    Swift

    static let amps: AWFUnit
  • Kilowamps unit string

    Declaration

    Objective-C

    extern const AWFUnit _Nonnull AWFUnitKiloamps

    Swift

    static let kiloamps: AWFUnit