Support for TAF, async/await, and example application. (#6)
Added TAF request. Added async/await API. Added example application.
Updated README
Implemented Sigmets Changed names from ADDS to AWC as this is the common factor between Metar/TAF (ADDS text server) and Sigmet (web service scripts).
Inclusion of “Point” geometry type.
Co-authored-by: Johan Bergsee johan@jnavionics.com
AvWeather
AvWeather is a Swift package allowing you to retrieve and use data from the Aviation Weather Center at aviationweather.gov.
Usage
(The example shows Metar, but TAF can be used as well)
Sigmets
AWC distinguishes between international and US Sigmets. Both can be retrieved by AvWeather, and represented by one common Sigmet class, although with some different properties. Refer to the implementation in
Sigmet.swift
for details.Async/Await
AvWeather can also be used in Swift Async/Await concurrency schemes:
(The example shows TAF, but Metar and sigmets can be used as well)