You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that this is making a lot more API requests, than is needed. The query requested for 135 xml elements (maximum is 100 per request), so ideally it should make only 2 requests.
Maybe the problem is that API expects start and end timestamps in local timezone, but ours is 'UTC'.
When I get rid of conversions of start and end timestamps in EntsoeRawClient._base_request method (conversion is in _datetime_to_str), it works like a charm. I have less requests and right time span.
I haven't tested yet if this will affect other functions, but this could be also a solution for #187.
fboerman
changed the title
EntsoePandasClient: query_day_ahead_prices does not return the right time span
EntsoePandasClient: query_procured_balancing_capacity does not return the right time span
Sep 18, 2024
hi! this is very strange since all other endpoints do expect (and work with) UTC. Thus removing the conversions in the base_request will probably break a lot of things. Do you have ideas for other fixes which are more specific to this method? I dont use this endpoint myself so kinda hard to test it
output:
Note, that first three hours are missing. It should return 24 rows instead of 21.
Probably similar to issue #187.
The text was updated successfully, but these errors were encountered: