Skip to content

Downstream Utility

itsminni edited this page Nov 25, 2026 · 3 revisions

Forecasting after gap filling

We measured how gap filling affects Ridge forecasts 1, 6, 12 and 24 hours ahead. Ridge received 72 hours of station history for one variable and four calendar features. Repairs used only data available through the forecast origin.

Forecast error on the same targets

Each row reports forecast MAE over 16,000 predictions from 200 origins, with repeated hours across masks and horizons. “Complete” uses observed history. Giano uses the packaged weights with --local-context --station-reference.

Station and variable Complete Interpolation Giano 1.0 Giano
T0088 · Temperature (°C) 1.123 1.345 1.182 1.159
T0118 · Humidity (percentage points) 9.747 11.654 9.886 9.998
T0103 · Pressure (hPa) 1.281 1.693 1.436 2.299
T0094 · Hourly rain (mm) 0.301 0.302 0.296 0.296
T0442 · Wind direction (°) 28.790 28.942 28.991 29.809

Against interpolation, Giano lowered forecast error for temperature, humidity and rain. Interpolation scored better for pressure and wind. The historical wind benchmark includes readings flagged with quality code 140. Full scores by mask and horizon · Reconstruction evaluation

Local observations in the repaired history

At T0103, poor pressure calibration drove the ensemble-only forecast MAE to 66.374 hPa. Local context and the station reference brought it down to 2.299 hPa. Interpolation still scored better for scattered missing hours. Giano scored better when the gap ended at the forecast origin.

How much past context does Ridge receive?

We replayed the five station–variable pairs with seven extra days available to both repairers. Ridge still forecast from the repaired 72 hours. Giano had lower mean forecast error for temperature, humidity, pressure and rain. Interpolation scored better for wind direction. Pressure MAE was 1.591 hPa with Giano and 1.693 hPa with interpolation, with a paired 95% interval of −0.252 to +0.097 hPa for the difference. With longer histories and nearby-station summaries also fed to Ridge, pressure MAE was 1.440 and 1.450 hPa, respectively. All five variables and forecast designs

Does the wind forecaster handle north correctly?

At T0442, encoding bearings as sine and cosine lowered forecast MAE from 15.737° to 7.076° with Giano and from 14.829° to 6.522° with interpolation. Both Ridge fits used the same 10,648 earlier training windows and the same previously inspected evaluation cases. Paired scores

Does more forecast training data help?

Ridge was trained before 2022 and evaluated in 2022. Each row averages MAE across four stations and covers 3,072 paired forecasts. Both Giano variants enable both station options and differ only in the data used to fit the reference.

Variable Interpolation Giano 1.0 Giano, packaged Trentino reference Giano, reference fitted on 2021
Temperature (°C) 2.236 1.455 1.409 1.409
Humidity (percentage points) 11.762 9.020 8.953 8.952
Station pressure (hPa) 2.914 1.930 2.179 1.586
Hourly rain (mm) 0.200 0.195 0.185 0.185

The 2021 reference brought Giano’s pressure error below Giano 1.0 at all four stations. Wind had too few complete histories for this comparison. Results by fit, station and horizon · Results with station options off

Forecast transfer to German stations

A separate Ridge fitted to 2023 data forecast conditions around Hamburg and Munich in 2024–2025. Giving each of the 16 stations equal weight, local context reduced temperature forecast MAE from 2.208 to 1.820 °C and pressure MAE from 7.802 to 1.555 hPa. Humidity improved in three of the four region–year comparisons. Regional forecast scores

Reproduce the study

Download the original Drive files into data/. Use the first-release environment for the historical case generator and the current environment for reconstruction and scoring. The summary checks that the target, mask and control forecasts match at every station, origin and horizon. Original data

git clone --branch v1.0.0 --depth 1 https://github.com/itsminni/giano.git ../giano-v1
uv run --project ../giano-v1 --locked --python 3.11 python examples/ridge/prepare_cases.py --data data --output runs/ridge/cases
uv run --locked python examples/ridge/evaluate.py --data data --cases runs/ridge/cases --output runs/ridge/original
uv run --locked python examples/ridge/evaluate.py --data data --cases runs/ridge/cases --local-context --station-reference --output runs/ridge/station
uv run --locked python -m examples.ridge.evaluate_context --data data --cases runs/ridge/cases --output runs/ridge/context
uv run --locked python examples/ridge/summarize.py --results runs/ridge/original --station-context-results runs/ridge/station --output runs/ridge/scores.csv

For archived Giano 1.0 and BiLSTM forecasts, pass --historical with the extracted artifacts/evaluation/corrected_v2_downstream_v2/downstream/ directory from the first release. For the 2022 analysis, extract the first-release checkpoints so that checkpoints/corrected_v2_spectral/imputeformer/seed-42 contains the original weights. First-release checkpoints and reports

uv run --project ../giano-v1 --locked --python 3.11 python examples/ridge/prepare_learning_curve.py --data data --checkpoints checkpoints --output runs/ridge/learning-cases
uv run --locked python examples/ridge/evaluate_learning_curve.py --data data --cases runs/ridge/learning-cases --local-context --station-reference --output runs/ridge/learning-station