KRK.flights · Independent project

Airport weather around your flight.

After fog disrupted flights at Kraków Airport, I designed and built a bilingual timeline around the time on a passenger’s ticket. It shows expected weather, possible changes and gaps in the forecast.

My role
Product, design and engineering
Project started
Late 2024
Public coverage
LoveKraków and Fly4free
Jump to a section
In this case1 / 5

Make the change visible at a glance.

I kept a continuous timeline so a five-minute change stays five minutes wide. The first version put weather and risk labels on the bands. Short intervals made labels spill into the next hour, so I moved the full explanation below the selected time and kept icons on the chart.

Hourly weather Departure · 6 October · Kraków time
No forecast · 18:00–18:05
Reconstructed test scenario. A brief worsening after 16:00, a dashed alternative before 17:00 and a five-minute gap at 18:00. See the product capture ↗
Height
Four advisory levels make changes legible alongside colour.
Dashed outline
A possible worsening stays distinct from the expected weather.
Hatching
A gap means the forecast can’t assess that time.

I checked keyboard and touch selection, brief changes and gaps. I haven’t tested comprehension with passengers. I’d ask them to find their flight time, explain a dashed band and decide where to confirm flight status.

Show the possible change separately.

At 16:23 the main forecast expected 8 km visibility. It also described two possible deteriorations. The interface gives each its own row so the percentage stays attached to the conditions it describes.

Departure · 27 November 2026
16:23Kraków local time
Prevailing forecast
8.0 km
Temporary change
4.2 km
30% chance at times
2.0 km

The 30% applies to the 2 km scenario.

The percentage describes the weather

The 4.2 km change comes without a stated probability. The 30% refers to the conditions with 2 km visibility. Passengers confirm their flight status with the airline or airport.

Same 400 m, different advisory

Example · 400 m visibility, with no runway visibility reading or other hazard.

Arrival
Level 4Below 550 m
Departure
Level 3300–550 m

Arrival and departure need different guidance

The rules use runway visual range (RVR) when reported and general visibility otherwise. The levels describe weather conditions for passengers.

Give every reading a source.

An airport observation (METAR) shows what was measured. The airport forecast (TAF) describes what may happen next. The weather service keeps their timing and source visible.

Forecast data flow
  • METARObservations
  • TAFAirport forecast
  • Open-MeteoArea outlook
Weather service
  1. Fetch & cache
  2. Parse & check freshness
  3. Assess by operation
Weather snapshotObservations · forecast periods · assessments

On request

Passenger timeline
Weather API
Transport planner

Scheduled collector

Archive METAR history
Check rules for alerts

ML · shadow mode

  1. P(visibility < 550 m) at +2 h
  2. Store prediction + baselines
  3. Match with later METAR

Public data & alerts Evaluation only

When a source goes quiet

Observation gets old
Keep its timestamp. A current assessment needs a reading at most 90 minutes old, fetched within 10 minutes.
Airport forecast runs out
Use a fresh area outlook where it covers the time. Runway visibility and cloud-base readings stay blank.
No usable forecast
Preserve the gap and show “forecast unavailable” at the selected time.

A better score still left too many misses.

I trained a separate model to estimate the chance of visibility below 550 m two hours after an observation. It improved on the earlier logistic model by 12.2% on the Brier score, the mean squared error of forecast probabilities.

How one training example gets its label
  1. At time tBuild the input58 features from current and earlier METARs.
  2. Around t + 2 hFind the observed outcomeUse the nearest METAR within ±15 minutes.
  3. TargetWas visibility below 550 m?Yes = 1 · No = 0.

Training used 2018–2023 reports, calibration used 2024, and testing used Jan–Sep 2026. I excluded 2025 because its results had already informed an earlier experiment. The earlier logistic model trained on 2023 data alone and used the same calibration year.

Two-hour Brier score

13,089 test readings · Lower is better

Selected model
0.00595
Earlier logistic model
0.00677
Visibility unchanged
0.00963
Training-set event rate
0.00990

Mean squared error of forecast probabilities.

Alarm thresholds

Same test readings · Visibility below 550 m

ProbabilityHitsMissesFalse alarms
≥ 10%9436146
≥ 30%656539

At 30%, the model misses 65 of 130 low-visibility readings.

Poor visibility occurred in 130 of 13,089 readings, about 1%. The constant baseline forecasts the event rate in the training data. I keep the model out of passenger assessments and alerts while I evaluate it against new observations and the airport forecast.

Press and sources.

LoveKraków covered the project in January 2025. The Fly4free community links to it in its Kraków Airport guide.

Back to Work