Moving from 0.25° to 0.1°: what to establish before expanding

Plan a move to a finer weather grid: geometry, sources, resources, the complete cycle and recovery. An independent example finds gaps in an acceptance matrix.

Two spatial representations of one landscape: an artistic metaphor for changing a weather grid.
Two spatial representations of one landscape: an artistic metaphor for changing a weather grid.

A finer weather grid can look like a straightforward improvement: select 0.1° instead of 0.25° and get more detail. For a service, that changes several things at once: geometry, workload, source availability, caching and recovery. Even a correctly decoded file does not yet establish whether readers can be switched to it.

We will build a transition plan. The result will be a technical acceptance matrix with separate evidence for the source, data, complete cycle and recovery. A small independent Python example will help identify missing or inapplicable records in that matrix. No real weather service is switched here: the checker uses explicitly fictional data.

First establish which product is changing

ECMWF already distributes IFS on 0.25° and 0.1° grids. These are representations of the same forecast. The finer product separates surface and upper-air files and, according to the documentation, arrives approximately two hours later. Details are in the 0.1° tier description. The current Open Data catalogue keeps AIFS at 0.25°.

That makes “move to 0.1°” an insufficient task definition. We need to name the model, product, required parameters, level types, forecast terms and reading area. Moving only surface temperature fields and moving every upper-air level impose different workloads. The presence of the second product in the catalogue does not expand the scope of the first.

We should also separate model initialization, confirmed availability of the required files and the result appearing on the page. If processing becomes a minute faster but the source arrives much later, the reader may receive the new generation later. This is not an argument against a finer grid; it is another product property that needs an explicit decision.

What the factor of 6.25 actually means

Over the same area, the spacing on each axis decreases by a factor of 2.5. On a uniform rectangular grid, the number of intervals across the area therefore grows by approximately 2.5 × 2.5 = 6.25. This is a geometric estimate, not a prediction of import duration or bandwidth costs.

Even the exact node count depends on the boundary convention. Consider a teaching global grid: longitude covers 360° without duplicating the seam, and latitude includes both poles. For spacing d:

columns = 360 / d
rows    = 180 / d + 1
nodes   = columns × rows

At 0.25°, this gives 1440 × 721 = 1 038 240 nodes; at 0.1°, it gives 3600 × 1801 = 6 483 600. The ratio is approximately 6.2448, rather than exactly 6.25. The example's global_nodes function reproduces this calculation. It describes the chosen mathematical construction; it does not certify the headers of an arbitrary downloaded file.

The actual geometry must be read from the message. The ecCodes documentation defines keys for grid type, axis dimensions, increments and boundary coordinates. The check must also include scanning order and the rule mapping a city to a node. An old cell number has no transferable meaning without these conditions.

File volume and peak memory have their own denominators

Node count does not determine the size of an encoded message. Selected fields, terms, levels, packing and the values themselves affect it. ECMWF separately describes bits per value: packing precision is set by parameter. Multiplying the previous byte count by 6.25 and calling the result a measurement would therefore be a mistake.

A bounded pass over the indexes is useful before reading bodies. It supplies the required message list, ranges and total selected encoded bytes for one particular run. That record does not yet prove that the decoder can read every message, that memory is sufficient, or that normalization will assemble the required horizon. It provides a basis for planning the next experiment.

A report should separate at least four quantities: encoded bytes, decoding operations, retained values and peak process memory. A range cache, temporary decoder arrays, copies and a simultaneously available old data version may coexist. A smaller final result does not guarantee a smaller peak. A limit on one array is not a limit on the whole job either.

The transition profile needs a separate identity

New geometry should not silently be written under an old key. The experiment needs an identity linking the source, grid, node selection, normalization and reading format. This distinguishes the results even when both variants use the same model run.

City-to-node mappings should be rebuilt under an explicitly selected rule. For control points, record the city and selected node coordinates, distance, behaviour at the area boundary and near the longitude seam. The distance between points explains a geometric change. By itself, it does not measure temperature forecast error.

Caches, checkpoints and completed snapshots must also distinguish profiles. Otherwise, a new reader can receive an old value under a plausible key. Recovery requires the same profile that produced the intermediate result. Changing only a directory name without checking its contents does not establish that match.

The matrix must cover the entire path to the reader

A successful probe for a few cities is useful for detecting problems early. It does not establish coverage of the entire agreed catalogue, every forecast term or the resource budget. Record the scope of each experiment before running it; a larger subsequent area needs its own evidence.

Check Required result before the transition
Source identity Required objects and versions remain consistent throughout reading
Geometry and mappings Headers match the profile; control cities receive the expected nodes
Field semantics Units, levels, intervals, missing values and accumulated-quantity rules are preserved
Complete cycle For the agreed area and horizon, the reader receives the exact generation that was checked
Resources alongside the service Defined limits hold under the agreed load on the neighbouring service
Recovery Interruption, retry and return to the previous generation have verified behaviour

When comparing the grids, we cannot require identical numbers for every city: the selected nodes may have changed. First check physical meaning, temporal supports and conversion rules. Describe numerical differences separately afterwards. For precipitation, do not confuse a cumulative total with a total for one interval; for wind gusts, distinguish a maximum from an instantaneous value.

The complete cycle ends by observing the required revision through the product's reading path. A storage write without that read leaves generation selection, caching and presentation unknown. If the product promises local days, time zones and calendar boundaries must join the acceptance criteria. Checking a UTC series does not fill those items automatically.

A checker must not invent missing evidence

In the teaching example, the plan specifies profile fine-demo-v1, run cycle-a, area region-a and processing revision reader-v1. Six records correspond to the six rows in the table. Each contains a check name, that scope, a status, an evidence basis and a reference to its material.

The evaluate function rejects missing or repeated checks, a different profile or run, unknown statuses and invalid numbers. It separately compares declared costs with the plan's limits. The synthetic fixture uses 900 seconds, 256 MiB of peak memory and 80 MiB of selected bytes. These numbers were created for the exercise; they are neither recommendations nor measured server capacity.

Synthetic situation Checker result
All six records agree and costs are within limits The matrix is complete; its basis remains synthetic
No recovery record exists The specific missing check is named
Geometry evidence belongs to the old profile The inapplicable scope is identified
Memory exceeds the limit by one byte The overrun is recorded
Complete-cycle reading has not been run An absent run does not become a success

matrix_complete concerns structure and declared results. The example does not open evidence references, authenticate them or verify resource counters. Even replacing the synthetic label with observed does not create an observation. The response therefore always contains references_verified: false, forecast_quality_assessed: false and deployment_authorized: false.

The local check used the Python standard library.

On Python 3.12.14, 14 test methods and the five scenarios above were executed. The checks include exact limits, a different run, duplicates, negative and infinite numbers, and unchanged inputs. This is an actual execution of a small checker. Real GRIB, a loaded service, activation and recovery did not participate in that run.

Plan recovery before activation

It is useful to prepare the new profile separately while keeping the current generation available for reading. After completeness and compatibility checks, activation becomes a separate step. Controlled interruptions are needed around that boundary: before it, during the attempt and after confirmation.

For each case, establish which generation a new reader sees, how an already started request finishes and what a retry does. Restoring the old pointer is insufficient evidence of recovery if the previous data has already been deleted or caches continue mixing generations. Cleanup of old results must account for the required recovery window and unfinished reads.

A scenario where the new run is late or only partly available is also needed. The policy may retain the previous admissible forecast, but it must expose its age and origin. Silently returning to another grid while keeping the new profile label is unacceptable. The product defines the allowed age; the existence of an old version does not make it suitable indefinitely.

A finer grid and a better forecast need different conclusions

Comparing 0.1° with 0.25° shows the difference between two representations. It contains no independent weather observation, so a smaller difference or a smoother map is not an accuracy score. ECMWF evaluates forecast quality with separate measures for different variables and horizons.

Your own conclusion needs a separate protocol: locations and a period fixed before evaluation, matching physical quantities, suitable observations, missing-data rules and forecast versions available at the required time. If the comparison is made at the user's decision time, the finer product's later arrival also changes the set of available cases. That is a different question from comparing identical model runs after both files have arrived.

The technical transition decision rests on a specific verified scope: sources, area, time horizon, processing revision, resources and recovery. Expanding that scope sends the relevant items back for checking. This makes the new grid a controlled product change, rather than a promise supposedly proved by two digits after the decimal point.

  1. Weather When to defer an import: CPU, memory and time budgets alongside a live website
  2. Weather Switching a whole forecast: snapshots, checkpoints and crash recovery
  3. Weather The process finished, but was the whole forecast updated?
  4. Weather A city between grid nodes: choosing a forecast point
  5. Weather Evaluating forecasts on held-out data: comparing sources fairly

A project by the author · Weather Solution200

After reading, a look outside.

Temperature, rain and wind in your city. Check the forecast and plan the hours ahead.

Check the forecast
Next article