Skip to content

Non-retrievable production data for Italy BZs #491

@fr-lucas

Description

@fr-lucas

Dear Team,

I am struggling retrieving data for e.g. IT_NORD over November 2025 dates. While it works all fine for a number of BZs (FR, FI, RO, PL...) the italian ones do fail. With some code of this kind:

country = 'IT_NORD'
tz = 'Europe/Rome'

ts_start = pd.Timestamp('20251110')
ts_end = pd.Timestamp('20251115')

ts_tostr = lambda d : d.strftime('%Y%m%d')

client = EntsoePandasClient(api_key=f'{apiKey}')
df_response = client.query_generation(
            country,
            start=ts_start.tz_localize(tz=tz),
            end=ts_end.tz_localize(tz=tz)
        )

df_response.index = df_response.index.tz_convert('UTC')
df_response.to_csv(f'prod_{country}_{ts_tostr(ts_start)}_{ts_tostr(ts_end)}.csv', index_label='timestamp')

I then get

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: for url: https://web-api.tp.entsoe.eu/api?documentType=A75&processType=A16&in_Domain=10Y1001A1001A73I&securityToken=*&periodStart=202511092300&periodEnd=202511142300

I wonder if this issues comes from the entsoe API itself? (data missing)
I tried checking on the entsoe graphical platform but this didn't help, as some countries display empty data while I can retrieve it via entsoe-py...

If data is indeed missing, I will create a ticket towards the entsoe support team. Thank you in advance for the support!
BR, François

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions