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
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.
- 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.
- 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.
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.
- METARObservations
- TAFAirport forecast
- Open-MeteoArea outlook
- Fetch & cache
- Parse & check freshness
- Assess by operation
On request
Passenger timeline
Weather API
Transport planner
Scheduled collector
Archive METAR history
Check rules for alerts
ML · shadow mode
- P(visibility < 550 m) at +2 h
- Store prediction + baselines
- 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.
- At time tBuild the input58 features from current and earlier METARs.
- Around t + 2 hFind the observed outcomeUse the nearest METAR within ±15 minutes.
- 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.
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.
Same test readings · Visibility below 550 m
| Probability | Hits | Misses | False alarms |
|---|---|---|---|
| ≥ 10% | 94 | 36 | 146 |
| ≥ 30% | 65 | 65 | 39 |
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.