Closed mlibsig closed 9 months ago
Please decrease the timeframe you are querying. For example do it per year. I think that fixes this.
-------- Original Message -------- On 15 Jan 2024, 11:23, mlibsig wrote:
Hi all,
I am trying to retrieve installed generation capacity using this code:
start = pd.to_datetime('2014-01-01').tz_localize('UTC') end = pd.to_datetime('2024-01-15').tz_localize('UTC')
client = EntsoePandasClient(api_key=_entsoe_api_key) tmp = client.query_installed_generation_capacity(start=start,end=end,country_code=lookup_area('DE'),psr_type=None)
I tried with a few different countries, they all returns empty dataframe. Anyone has any idea how to fix this?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Installed capacity is published with a very specific timestamp, around on the 31st of December (or 1st of January). Try to query from Dec 15th to Jan 15th. Extending the query over several years should be fast & work like a charm.
Johan.
Op ma 15 jan 2024 om 11:34 schreef fboerman @.***>:
Please decrease the timeframe you are querying. For example do it per year. I think that fixes this.
-------- Original Message -------- On 15 Jan 2024, 11:23, mlibsig wrote:
Hi all,
I am trying to retrieve installed generation capacity using this code:
start = pd.to_datetime('2014-01-01').tz_localize('UTC') end = pd.to_datetime('2024-01-15').tz_localize('UTC')
client = EntsoePandasClient(api_key=_entsoe_api_key) tmp = client.query_installed_generation_capacity(start=start,end=end,country_code=lookup_area('DE'),psr_type=None)
I tried with a few different countries, they all returns empty dataframe. Anyone has any idea how to fix this?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/EnergieID/entsoe-py/issues/289#issuecomment-1891832584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIO2LUJYYFBSPRG3MVINVH3YOUA4BAVCNFSM6AAAAABB3A4ASSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRHAZTENJYGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
All seems okay now, changed initial date some date in december
Hi all,
I am trying to retrieve installed generation capacity using this code:
I tried with a few different countries, they all returns empty dataframe. Anyone has any idea how to fix this?