Forecasts and observations: what weather data does the user see?
Separate the origin of weather values, their transformations, and time roles. Synthetic cards show why a forecast, measurement, and mean need different labels.
A weather card shows +10 °C and the label “Updated just now.” That is not enough to understand the value. A station may have measured it, a forecasting model may have calculated it, or an application may have produced it by averaging other values. The time when a service received a response explains neither the number's origin nor the time it refers to.
For a weather product, this is part of the content, rather than a secondary technical note. Readers should know whether they are seeing a measurement, a forecast for the relevant time, or a separate calculation. We will examine a synthetic timeline and three cards. They do not describe real weather and do not use executed weather API requests.
Origin determines what a number means
An observation has a basis in measurement. A forecast describes an expected state produced by a model. Reanalysis combines historical observations with a model to reconstruct past conditions. The Copernicus explanation distinguishes these concepts: reanalysis is not simply a list of station readings.
A value for the previous hour therefore does not become an observation merely because of its time. It might be a stored forecast, a reanalysis result, or a measurement. Likewise, “current weather” describes a product need but does not establish how the data were obtained. That method must be understood from the particular dataset's documentation.
The internal representation should preserve origin separately from the short interface label. Otherwise, one translation may call a model result “measured” while another calls it a “forecast.” If origin has not been established, an honest state is “source needs clarification,” rather than automatically choosing the most convincing name.
Origin and transformation are different axes
The label “derived” answers another question: what did the product do with its inputs? A mean of forecast samples remains based on forecasts. A mean of measurements has an observational basis. A mutually exclusive list of “forecast / observation / derived” loses that distinction.
| Input origin | Transformation in the product | Clear label |
|---|---|---|
| Forecast | No additional calculation | Temperature forecast for the specified time |
| Forecast | Mean of selected samples | Mean of forecast samples |
| Observation | No additional calculation | Station value at the measurement time |
| Observation | Mean of selected samples | Mean of measurements with the sample selection identified |
“No additional calculation” concerns our product. It does not promise that the provider has not calibrated a sensor, checked quality, or transformed its own data. We need to distinguish the dataset's origin, its own methodology, and the additional operation performed by the application.
For a derived value, references to the input samples, units, and calculation rule also matter. Otherwise, after a source is replaced, the card may retain its old “mean” label even though the actual selection or its temporal meaning has changed.
One value has several time roles
For a forecast, the model initialization time and the time for which it is valid mean different things. Initialization establishes the reference state for the forecast calculation; it is not the moment when our server downloaded the completed data. The ECMWF terminology explains this distinction.
| Time | The question it answers |
|---|---|
| Model initialization | Which reference state was used to build the forecast? |
| Forecast valid time | Which instant or interval does the value describe? |
| Observation time | When was the measurement made, or when did its interval end? |
| Data receipt | When did the application receive this record? |
In the synthetic timeline, T0 is an arbitrary starting point. A forecast initialized at T0 contains +10 °C for T0+6h. Station A in the fictional example measures +11 °C at T0+5h. The application receives both records at T0+6h. An identical receipt label does not turn them into simultaneous measurements.
The forecast card needs its valid time; the station card needs its observation time. Receipt can be shown additionally when it helps explain a delay. An unknown initialization time stays unknown; copying the HTTP response time into that field would create a fact the source did not provide.
A minimal contract should not hide origin
Here is a teaching representation of the first card. It is our conceptual format, not a weather provider's contract:
{
"synthetic": true,
"origin": "forecast",
"transformation": "none",
"quantity": "air_temperature",
"value": 10,
"unit": "degC",
"temporal_support": {
"kind": "instant",
"valid_at": "T0+6h"
},
"model": {
"id": "demo_model",
"initialized_at": "T0"
},
"spatial_support": {
"kind": "model_grid",
"id": "demo_grid_A"
},
"received_at": "T0+6h"
}
We store a second forecast sample separately: +14 °C for T0+7h, from the same synthetic model and spatial area. The mean of those two numbers is +12 °C. The third card is labelled “Mean of two forecast samples” and lists both instants.
This is not the mean temperature over a continuous two-hour period. We have only two selected samples, not a complete account of how temperature changes between them. The derived card retains origin=forecast; calculating a mean does not turn it into a station observation. Comparing it with measurements requires compatible times, quantities, spatial support, and methodology.
Current and historical do not mean measured
The Open-Meteo documentation describes current conditions as weather model data with a 15-minute representation. This does not prove that a station exists at the selected point. Temporal resolution and interpolation details depend on the dataset and region; the name current should not be translated into “measured now.”
The Historical Weather API likewise uses reanalysis. A historical date in the request address does not turn the returned row into the archive of a particular thermometer. An interface may offer separate journeys for past forecasts, reanalysis, and station records, but should not silently merge them under a single “actual” badge.
If the provider changes the dataset or the application adds another source, the mapping between fields and labels needs review. Identical JSON structure does not guarantee identical meaning. A change of origin must remain visible in the product's data so that a cache or translation does not retain the earlier, now incorrect promise.
Instants, intervals, and missing values
Temperature at a specified instant and precipitation over a period need different labels. For an interval value, its bounds, accumulation direction, and units matter. For example, the Open-Meteo variable definitions distinguish instantaneous values from sums over a preceding interval.
A heading such as “rain at this hour” can hide the fact that a number concerns the previous hour. The card should explain the actual window defined by its source. Changing the time zone affects how instants and daily boundaries are displayed, but does not itself change the physical meaning of an accumulation.
Zero and missing data also mean different things. The number 0 can be a valid precipitation amount for a defined interval. A null or absent record does not establish that there was no precipitation. Replacing a gap with zero creates false certainty; it is better to show “no data” separately and retain the reason if it is known.
A city name does not establish location or quality
A forecast grid and a station have different spatial support. The selected model cell's coordinate can differ from the requested address, as the Open-Meteo response description notes. A city name above both cards does not make them readings from one instrument in one place.
A station record needs its source, station, and any known quality indicators. The word “observation” does not mean that errors are impossible: NWS describes checking and correcting station data. This is an example of a particular observation process, not a universal guarantee for every provider.
In our mockup, station A, the model, and the cell are fictional. The difference between +10 °C and +11 °C cannot be called a forecast error: the records already have different time roles, and their spatial support and methodology have not been matched. A number on an attractive card does not replace an accuracy assessment procedure.
Treat labels as part of the data contract
The static HTML mockup displays three cards and a relative timeline. It lets a reviewer read origin, relevant time, and transformation without running a service or retrieving real weather. The acceptance matrix contains eight conceptual cases: time roles, unknown initialization, a derived mean, a past forecast, an interval, a gap, and a spatial difference.
These cases are editorial review criteria. They are not executed weather API tests, an assessment of model accuracy, or an interface usability study. A future integration needs a separate check of the provider's real contract, units, time rules, missing values, and the origin of each dataset.
A good label gives readers enough information to interpret a number correctly. A forecast retains its valid time, an observation retains the time and place of measurement, and a derived value retains its basis and operation. The receipt label supplements that information instead of replacing it.