Skip to content

Electricity data ingestion does not cope correctly with ambiguous times #166

@martyngigg

Description

@martyngigg

When daylight savings time ended the job started failing with the error:

  File "pandas/_libs/tslibs/tzconversion.pyx", line 371, in pandas._libs.tslibs.tzconversion.tz_localize_to_utc
pytz.exceptions.AmbiguousTimeError: Cannot infer dst time from 2025-10-26 01:30:00, try using the 'ambiguous' argument

See the ambiguous argument in https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.tz_localize.html for further explanation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions