Cloud Computing · Group Project · Laurentian University

Winter Transit Reliability in Greater Sudbury

Can weather data warn us, a day ahead, which winter days will disrupt city bus service? We built a fully automated pipeline on Google Cloud to find out.

Team: Jalp · Rajan · Krishna · Akbar · MSc Computational Sciences · Fall 2026
Live system · data updated automatically on Google Cloud
The problem

Storms disrupt the buses students depend on

Winter stormSnow, freezing rain, strong wind gusts
→
Weather emergency declaredRoads and stops clear slowly
→
Service disruptedBuses delayed, detoured or suspended
→
Riders strandedStudents wait in −25 °C or miss class
OUR QUESTIONCan weather data warn us, a day ahead, which days will disrupt transit service?
8
storm declarations found
15
labelled disruption days
3
winters studied (2023–2026)
1,119
weekday trips through the Downtown hub, on 18 of 25 routes
Data · structured, semi-structured, unstructured

Five sources, three data types, one warehouse

Structured

Daily weather (CSV)
Environment and Climate Change Canada, station SUDBURY A · 664 winter days.

Semi-structured

Transit schedule (GTFS) · 1,100 stops, 25 routes
City open-data API (JSON) · live service announcements every 15 min
Open-Meteo API (JSON) · 16-day forecast, daily

Unstructured → our own table

Public storm notices and news
Turned into a labelled list of 8 events. The pipeline marks every day inside an event as a disruption day.

Cleaning rules, in short: an unmeasured wind gust ("<31") becomes 30 km/h, blank snow cover becomes 0, duplicate and future dates are dropped, only November–April is kept, and placeholder or invalid storm dates are skipped and logged.

Block diagram · Google Cloud

Event → process → output → store, three times

EVENT / TRIGGER
PROCESS
OUTPUT
STORE
LIVEevery 15 min
Cloud Scheduleralarm every 15 minutes
Collector functiontoken from Secret Manager, calls the City API
raw_announcementsone row per reading
BigQueryrows appended
BATCHon file upload
Cloud Storage → Eventarcfile uploaded = trigger
Pipeline functionmerge, clean, features, storm labels
daily_winter664 days, 15 labelled
BigQuerytable replaced each upload
FORECASTdaily, 6 a.m.
Cloud Scheduleralarm at 6 a.m.
Forecast functionOpen-Meteo 16 days → same features → ML.PREDICT
forecast_riskHigh / Medium / Low per day
BigQuery → Looker Studiolive dashboard
Google Cloud service Output people see Underneath: IAM roles, Cloud Logging · Region: northamerica-northeast2 (Toronto)

Cloud Run functionsCloud SchedulerEventarc Cloud StorageBigQueryBigQuery ML Secret ManagerLooker StudioFirebase Hosting

ML / AI · BigQuery ML

From weather features to a disruption-risk score

Engineered features

  • Snowy precipitation — precipitation on days at or below 1 °C
  • 3-day precipitation — storms that build up
  • Freeze–thaw — the day crossed 0 °C, when ice forms
  • New snow on ground — sudden pile-up
  • Max wind gust, temperatures, weekday, month

Model and test design

  • Logistic regression in BigQuery ML: a yes/no question with a probability, explainable, suited to a small dataset
  • Class weights: storm days are only ~3% of days
  • L2 regularisation = 1.0: avoids memorising 15 events
  • Split by time: trained on 2023–24 and 2024–25, tested on the unseen 2025–26 winter
  • Baseline to beat: the same model with snowfall only
Results · tested on winter 2025–26 (never seen in training)

The model caught 4 of 5 disruption days

80%
recall: 4 of 5 disruption days caught
0.97
ROC AUC (snowfall-only baseline: 0.57)
0.24
precision: about 1 in 4 alerts was a real disruption
12th
rank of snowfall alone out of 13 features: wind and ice matter more
MetricFull modelBaseline (snowfall only)
Recall0.80
0.60
Precision0.24
0.06
ROC AUC0.97
0.57
F1 score0.36
0.10

Accuracy (0.92) is not used as the main measure: about 97% of winter days are normal, so it would flatter any model.

Visualize · live

Live dashboard

Connected directly to BigQuery: past risk scores against real storm days, plus the upcoming 16-day risk forecast, refreshed every morning at 6 a.m. Use the page selector at the bottom of the dashboard to switch pages.

Risk scores are relative, built for November to April, and the first 7 forecast days are the most reliable.

Honest limits · future work

What we'd improve next

Limitations

  • Small sample: 15 disruption days, 5 in the test winter
  • Storm declarations stand in for actual delays
  • Some event end dates are estimated (flagged in the data)
  • The live arrivals endpoint returned HTTP 500 errors

Future work

  • Turn collected announcements into automatic labels
  • Push alerts when tomorrow is High risk
  • Per-route delay model once live arrivals work
  • More winters; log forecasts to measure accuracy