← Projects
Aviation weatherGeospatial computingOffline iOS

CAV-OK

Aviation weather for iPhone, iPad, and iPhone Duo that turns METAR observations and TAF forecasts into a regional picture pilots can read at a glance.

Download on the App Store
CAV-OK regional flight-category heatmap on iPad

New in 1.2 · How to use the app · iPhone Duo · Widgets · Siri and Shortcuts · Flight categories · Airport downloads

Weather as a region, not a list

METAR and TAF reports are published one station at a time, while a pilot’s decision spans a route or a region. CAV-OK turns those point observations into an operational map. Flight category, ceiling, visibility, wind, and temperature-dew-point spread can be viewed across every reporting station inside a region the pilot centres and sizes.

The map remains useful when connectivity does not. A global basemap ships with the app, the most recently fetched weather remains readable offline, and stale or unavailable data is identified instead of being presented as current.

From overview to evidence

The timeline moves through recent observations and into the TAF forecast. A station opens into decoded conditions, the raw METAR, observation history, a trend chart, and its TAF decoded into the changes still to come. Routes can be entered as airports, navaids, or US fixes, then drawn as great-circle tracks with nearby reporting stations ordered in flight sequence.

CAV-OK regional flight-category heatmap on iPhone CAV-OK wind overlay on iPhone CAV-OK station details and weather trend on iPhone CAV-OK regional visibility overlay on iPhone

See it in use

New in version 1.2

Version 1.2 reads the whole TAF, not only its opening forecast. TEMPO, INTER, BECMG, PROB30, PROB40, and FM change groups are decoded, so the TAF slot on the timeline is coloured by the worst conditions the forecast allows for at the time shown. In a station’s details, the newest TAF is listed as what prevails now, followed by every change group that has not ended, each with the flight category it brings.

CxAVOK station details for Illesheim with the raw TAF and its decoded prevailing forecast and BECMG change group, each with a flight category
The raw TAF and, below it, what prevails now and the change still to come

Settings → Flight Categories now offers US or European limits. The European scale follows the SERA minima for VFR at an aerodrome and for special VFR, and switching recolours the map, the station details, and the widgets straight away. See Flight categories for both sets of limits.

Crosswind estimates and runway drawings now use true runway headings from the airport download instead of the magnetic runway number. Version 1.2 also restores weather loading after the weather service began rejecting the app’s region requests, shows the right station count in the weather region sheet, and lists a route waypoint the app cannot place as unresolved instead of drawing it to a same-named point on another continent.

Version 1.1, on the App Store now, added METAR and Favorites widgets, Siri and Shortcuts actions, layouts for iPhone Duo closed and open, and a launch screen with ridgelines marked 2, 5, and 10 km, the visibility that CAVOK stands for. Version 1.2 is in testing and will follow.

How to use CAV-OK

CAV-OK appears as CxAVOK on your device. The current app requires an iPhone, iPad, or iPhone Duo with iOS or iPadOS 26 or later.

Get started

  1. Open the app and answer Download airport data? Choose Download to fetch about 20 MB of airports, runways, frequencies, and navaids from OurAirports, or Cancel to continue with the bundled data
  2. If you cancel, dismiss the Download later reminder with OK
  3. Allow location to centre the weather region and sort nearby stations by distance, or place the region yourself
  4. Open More options (•••) → Weather Region to set the centre and radius with the minus and plus controls, or use Center On My Location
  5. Start with a region of about 300-500 km and select Cat to see flight categories across the reporting stations

Weather is downloaded for the selected region. Larger regions take longer to load and contain more stations. The sheet counts the reporting stations inside the circle as you move and resize it.

CxAVOK weather region sheet over Germany with a 300 km radius and 90 reporting stations found
A 300 km region over Germany holds 90 reporting stations

Read the map and timeline

OverlayWhat it showsUnits
CatFlight category: VFR, MVFR, IFR, LIFRCategory colours
CeilLowest broken or overcast cloud layerHundreds of feet; 005 means 500 ft
VisVisibilityKilometres with Metric units
WindWind speed and station wind barbsKnots
SpreadEstimated cloud base from temperature minus dew pointHundreds of feet

Use the legend below the overlay picker to read the colours. The wash between stations is an estimate from nearby reports. On the Wind overlay, a half barb means 5 kt, a full barb 10 kt, and a pennant 50 kt.

Pinch to zoom and drag to pan. Center on my location returns to your position. Follow aircraft keeps the map centred as you move; panning stops following.

The bottom panel contains half-hour observation slots. Drag across them to scrub, press play to animate, or choose TAF for the forecast. If the panel is hidden, tap the chevron on the right edge of the map. The TAF slot shows the worst the forecast allows for at the current time, counting temporary and probable changes. Check the report age before reading conditions and tap Refresh for the latest reports. A patchy newest slot usually means some stations have not reported yet; move one slot to the left.

Inspect a station and save favorites

Tap a station marker or a list entry for decoded wind, gusts, visibility, ceiling, temperature, dew point, and QNH. The details include the raw METAR, a flight-category trend, report history, and TAF. From version 1.2, the newest TAF is decoded below its raw text: what prevails now, then each change group that has not ended, with its time window, flight category, and the wind, visibility, cloud, and weather it changes. Touch and hold the raw report to copy it. Tap the heart to save the station.

Favorite Stations lists saved stations. Nearby Stations lists reports within 100 km, closest first. When the closest field is not VFR, Nearest VFR suggests a nearby field that is. An arrow beside a station shows whether its category improved or worsened since the previous report.

CxAVOK on iPad with Helsinki-Vantaa decoded weather, METAR history and TAF beside the regional map
On iPad, station details remain beside the map

Search for airports and build a route

Type an airport code or name, such as EFHK or Helsinki, in the bottom panel’s search field. Search includes weather stations and airports without reports. Choosing an airport moves the weather region there.

Enter two or more waypoint codes, such as EFHK EETN or EFHK-EETN, to draw a great-circle route and list reporting stations along it in flight order. Routes accept airports, navaids, and US FAA fixes. European en-route fixes are not included in the app’s openly licensed reference data, so a route through one is listed under Unresolved waypoints and not drawn. From version 1.2, a fix or navaid more than 2,000 km from the point before it is treated the same way, so a European fix that shares its name with a US fix no longer draws a route across the Atlantic.

CxAVOK iPhone search for EFHK showing reporting stations and airport results
Search by airport code or name, or enter a route

iPhone Duo

Version 1.1 and later.

Closed, iPhone Duo keeps its clock, Wi-Fi, and camera in a column on the right edge. CAV-OK places the map buttons directly under that column and moves the Cat, Ceil, Vis, Wind, and Spread picker to the bottom of the map, across the full width of the screen. When the weather panel is open, the picker rides on top of it, so it stays in reach at every panel height.

The panel spans the full width of the screen. Pulled all the way up, its rows narrow to clear the clock and Wi-Fi, and widen again on the way down. Drag the handle at its top, or tap the handle to step it up a height.

CxAVOK on a closed iPhone Duo with the map buttons under the status icons and the overlay picker on top of the weather panel CxAVOK on a closed iPhone Duo showing Helsinki-Vantaa station details in the full-width panel

Open, the left half is the map, laid out as on any iPhone. The right half replaces the bottom panel with Search, Station, and Route tabs above the timeline. Only the tabs step aside for the clock and Wi-Fi; the lists, station details, and timeline below them use the full width. Tapping a station on the map switches to Station without clearing what you typed in Search.

CxAVOK on an open iPhone Duo with the flight-category map on the left and Helsinki-Vantaa station details, trend, and timeline on the right
Open, the map and the station details sit side by side

Widgets

Version 1.1 adds two widgets. Open the app and load weather before adding them; they show the app’s last downloaded reports and update when it refreshes.

WidgetSizesWhat it shows
METARHome Screen: small and mediumStation category, report age, and conditions; medium also shows the raw METAR
METARLock Screen: circular, rectangular, and inlineCompact station weather; the fields depend on the size
FavoritesHome Screen: medium and largeSaved stations with category, wind, and report age
  1. Touch and hold an empty area of the Home Screen, then choose Edit → Add Widget
  2. Search for CxAVOK, choose METAR or Favorites, select a size, and tap Add Widget
  3. For METAR, touch and hold the widget, choose Edit Widget → Station, and select a station; favorites appear first

For the Lock Screen, touch and hold it, choose Customize → Lock Screen, tap the widget area, and add CxAVOK. Tap the widget in the editor to choose its station separately from the Home Screen widget. Tapping a station widget opens its details in the app.

Siri and Shortcuts

Version 1.1 exposes four App Intents in Shortcuts, with Siri phrases for each. Say the app’s name as CAVOK (“cav okay”), before the request or after it:

ActionExample Siri requestResult
Station Weather“Weather at EFHK in CAVOK” or “CAVOK weather at EFHK”Decoded conditions, category, and report age, spoken and shown on a card
Nearest VFR Field“Nearest VFR field in CAVOK” or “CAVOK nearest VFR”A VFR field within 100 km of the last position the app knew
Crosswind“Crosswind at EFHK in CAVOK” or “CAVOK crosswind at EFHK”Estimated headwind or tailwind and crosswind, including gusts
Open Station“Open EFHK in CAVOK”Opens that station’s details

In Shortcuts, add a CxAVOK action and choose its station. The Crosswind action can take a runway end such as 22 or 04L; leave it empty to check every runway. You can also use the actions through Spotlight or assign a shortcut to the Action button.

Station Weather and Crosswind try to fetch a fresh report when the stored one is at least 30 minutes old. If the network is unavailable, they can use the stored report and state its age. Nearest VFR uses stored weather and the last known location, so open the app to update both first. Crosswind requires runway data from the airport download.

Crosswind is an estimate. From version 1.2 it uses each runway’s true heading from the airport download, matching the true wind in a METAR. Runways without a published heading, and devices that have not downloaded airport data again since updating, fall back to the runway number, which is magnetic and rounded to 10 degrees. Download again in Settings → Airport Data to get the true headings. The reported wind may still differ from conditions on final.

Airport data and settings

Open More options (•••) → Settings → Airport Data. The Downloaded date and Stored count show what is on the device. If you skipped the initial download, tap Download Data. After a completed download, the button becomes Download Again. Both ask you to confirm with Download or Cancel before starting. A progress indicator appears during download and import.

Settings also lets you choose System, Light, or Dark appearance, Metric or US units, and, from version 1.2, US or Europe flight-category limits. Ceilings stay in feet and winds in knots. Data Sources lists the providers and licences. More options → Map Detail lets you hide terrain, roads, rivers, urban areas, place names, state borders, or latitude lines.

CxAVOK iPhone settings showing appearance, units, stored airport data and Download Again
Airport data settings after a completed download, captured in an earlier build; current downloads require confirmation

Prepare for offline use

Load your weather region while connected and download the airport reference data if you need runway details. The basemap ships with the app, and the last downloaded weather remains readable offline. Check every report’s age: stored observations do not become current just because the map still draws.

If a service cannot be reached, the app retains the weather it already has. If a widget says Open CxAVOK to load weather, open the app and refresh the region. Areas far from reporting stations fade out rather than showing unsupported weather estimates.

Flight categories

Version 1.2 and later.

Open More options (•••) → Settings → Flight Categories and choose US or Europe. The choice applies to the map, the station details, the trend chart, the TAF slot, the widgets, and Siri answers, including reports already stored on the device.

CategoryUS: ceiling or visibility belowEurope: ceiling or visibility below
LIFR500 ft or 1 statute mile200 ft or 550 m
IFR1,000 ft or 3 statute miles600 ft or 1,500 m
MVFR3,000 ft or 5 statute miles, inclusive1,500 ft or 5 km
VFRclear of every limit aboveclear of every limit above

Europe has no four-step scale of its own. The European limits are those of SERA.5005(b) for VFR at an aerodrome in a control zone, SERA.5010(c) for special VFR, and the Category I approach minimum for the lowest step.

CxAVOK settings with the Flight Categories choice of US or Europe and the US limits described below it
Flight Categories in Settings, with the limits of the chosen scale

Interpolating the regional heatmap

CAV-OK uses Shepard inverse-distance weighting to estimate a value at each raster pixel from the surrounding stations.

Shepard inverse-distance weighting

di=∥p−pi∥D=1+max⁡jdjwi(p)=(D−diDmax⁡(di,ε))2z^(p)=∑iwi(p)zi∑iwi(p)\begin{aligned} d_i &= \lVert p-p_i \rVert \\ D &= 1 + \max_j d_j \\ w_i(p) &= \left(\frac{D-d_i}{D\max(d_i,\varepsilon)}\right)^2 \\ \hat z(p) &= \frac{\sum_i w_i(p)z_i}{\sum_i w_i(p)} \end{aligned}

Here, pp is the pixel being rendered, pip_i is station ii, and did_i is their distance in the heatmap raster. The station’s observed value is ziz_i. DD is one pixel beyond the farthest station, which keeps every weight finite, and ε\varepsilon prevents division by zero. Squaring the weight makes nearby stations influence the pixel much more strongly than distant ones. If a pixel lands exactly on a station, the app uses that station’s value directly.

The interpolated number is then mapped through the selected scale. Continuous measurements use colour ramps. Flight categories use four flat colour bands so the map does not imply categories between VFR, MVFR, IFR, and LIFR.

Fading where evidence runs out

Interpolation should not colour an unlimited area when the nearest report is far away. The overlay therefore fades according to the nearest station.

Distance-based opacity

α(p)=clip⁡(0.55−0.55f(dmin⁡(p)−f), 0, 0.55),f=r2\alpha(p)=\operatorname{clip}\left(0.55-\frac{0.55}{f} \left(d_{\min}(p)-f\right),\ 0,\ 0.55\right), \qquad f=\frac{r}{2}

α(p)\alpha(p) is the pixel opacity, dmin⁡(p)d_{\min}(p) is the distance to the nearest station, and rr is the configured station radius in pixels. Opacity stays at 55 percent until distance ff, fades linearly after that point, and reaches zero at rr. clip prevents opacity from falling below zero or exceeding the maximum. The visual boundary therefore communicates where local observations stop supporting the regional estimate.

Turning ceiling and visibility into flight category

The category overlay uses the worse of ceiling and visibility. Let qC(C)q_C(C) be the severity implied by ceiling CC in feet and qV(V)q_V(V) the severity implied by visibility VV in metres.

Flight-category severity

q(C,V)=max⁡(qC(C),qV(V))q(C,V)=\max\left(q_C(C),q_V(V)\right)
CategorySeverityCeilingVisibility
VFR1above 3,000 ftabove 5 statute miles
MVFR21,000 to 3,000 ft3 to 5 statute miles
IFR3500 to 999 ft1 to under 3 statute miles
LIFR4below 500 ftbelow 1 statute mile

The table shows the default US limits; with Europe selected, the same rule applies to the European limits in Flight categories. The maximum selects the more restrictive measurement. For example, a high ceiling cannot make a station VFR when visibility is IFR. A missing measurement produces no category rather than treating absent evidence as good weather. In the implementation, 1, 3, and 5 statute miles are stored as 1,609, 4,828, and 8,047 metres.

Estimating cloud base from the spread

When temperature and dew point are available, their spread provides a rough lifted-condensation-level estimate.

Temperature-dew-point spread

hLCL≈400(T−Td)h_{LCL} \approx 400\left(T-T_d\right)

TT is surface temperature in degrees Celsius, TdT_d is dew point in degrees Celsius, and hLCLh_{LCL} is the estimated cloud base in feet above ground level. Each degree of spread adds roughly 400 ft. This is a situational estimate, not a replacement for a reported ceiling or an official weather briefing.

Measuring weather along a curved Earth

A long flight leg is not a straight line in latitude and longitude. CAV-OK uses spherical geometry to decide which stations lie inside a 50 km route corridor.

Great-circle cross-track distance

dxt=Rarcsin⁡(sin⁡δ13sin⁡(θ13−θ12))d_{xt}=R\arcsin\left(\sin\delta_{13} \sin\left(\theta_{13}-\theta_{12}\right)\right)

RR is Earth’s mean radius, δ13=d13/R\delta_{13}=d_{13}/R is the angular distance from the leg’s start to the station, θ13\theta_{13} is the initial bearing from the start to the station, and θ12\theta_{12} is the initial bearing of the planned leg. The absolute value ∣dxt∣|d_{xt}| is the shortest sideways distance to the great-circle track. The app also computes along-track distance, clamps it to the leg endpoints, and accumulates it across legs so stations appear in the order the aircraft reaches them.

Built for situational awareness

CAV-OK combines live AviationWeather.gov METAR and TAF data with Finnish Meteorological Institute observations, a bundled airport and navigation database sourced from OurAirports and the FAA, offline vector and relief maps, background refresh, Home Screen and Lock Screen widgets, Siri shortcuts, closed and open iPhone Duo layouts, and, from version 1.2, decoded TAF change groups and a choice of US or European flight categories. Airport reference downloads are optional and confirmed before they start. The heatmap is computed with Metal on the GPU, with a CPU fallback, and its raster size is bounded to fit real mobile-device memory.

The app supports preflight familiarisation and situational awareness. It is not a certified weather source, an official briefing, or a sole source for flight planning or in-flight decisions.