﻿# UCI ElectricityLoadDiagrams: daylight-saving zeros are already encoded

Interpret Portuguese-clock electricity records, client-activation zeros and preencoded daylight-saving transitions before applying timezone repair or hourly aggregation.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-uci-electricity-preencoded-daylight-saving-zero-semantics/
Language: en

## A regular table does not imply an ordinary civil clock

Electricity forecasting code often localizes timestamps and automatically repairs daylight-saving gaps. That is unsafe when a published dataset has already encoded clock changes inside a fixed daily grid. The UCI ElectricityLoadDiagrams release explicitly documents such handling. Read its observation convention before applying the usual timezone-cleaning recipe; a successful conversion can otherwise alter consumption twice while leaving an apparently regular array ready for training.

## Read the documented spring and autumn treatment

The [UCI dataset description](https://archive.ics.uci.edu/dataset/321/electricityl) states that labels use Portuguese time and every day retains the same number of measurements. Spring clock-change positions contain zeros, while autumn positions aggregate the corresponding repeated hours. These are properties of the released representation. A generic localization routine cannot reconstruct separate physical observations from an already aggregated autumn value merely by assigning timezone offsets.

## Distinguish activation zeros from measured inactivity

The same source explains that customers introduced after the beginning of the collection have preceding values represented as zero. Consequently, a zero can describe different circumstances even in a dataset reported as having no missing values. Keep an activation or eligibility policy alongside the observation mask. Treating all leading zeros as measured inactivity, or replacing all zeros as missing, changes the effective training population and the forecast evaluation denominator.

## Identify the derivative used by the experiment

The [Monash hourly record](https://zenodo.org/records/4656140) is a derived forecasting collection, not automatically identical to every original customer column and interval. Record its revision and aggregation lineage separately. The [pandas time-series guide](https://pandas.pydata.org/docs/user_guide/timeseries.html) explains timezone-aware processing, but those operations must be chosen around the source convention. Calendar conversion and arithmetic aggregation answer different questions; neither should be inferred only from a frequency suffix in a benchmark name.

## Audit transition periods before model fitting

Inspect representative clock-change days and a customer activation boundary in the actual file. Document which values remain observed, excluded or aggregated, and verify totals under the intended interpretation before evaluating forecasts. [Temporal availability](/journal/data-guide-temporal-split-availability/) and [timestamp context](/journal/guide-rfc9557-offset-time-zone-context/) provide related controls. A transparent transformed dataset may be useful, but cannot be presented as an unchanged original release or a reconstruction of information that the published aggregation no longer separates.
