Open ThomasAuriel opened 3 years ago
do you have a python code that shows this crashing? I was planning on using this data so was concerned when I saw this but when I run this:
start=pd.Timestamp('20210118', tz='Europe/Amsterdam')
end=pd.Timestamp('20210119', tz='Europe/Amsterdam')
df = clientP.query_crossborder_flows('DE', 'NO', start=start, end=end)
I get perfectly fine data with latest version of the package.
hi @ThomasAuriel does the last comment fix your issue?
The api is currently unable to collect data on the Cross-Border Physical Flow DE-NO
https://transparency.entsoe.eu/transmission-domain/physicalFlow/show?name=&defaultValue=false&viewType=GRAPH&areaType=BORDER_CTY&atch=false&dateTime.dateTime=18.01.2021+00:00|CET|DAY&border.values=CTY|10Y1001A1001A83F!CTY_CTY|10Y1001A1001A83F_CTY_CTY|10YNO-0--------C&dateTime.timezone=CET_CEST&dateTime.timezone_input=CET+(UTC+1)+/+CEST+(UTC+2)
The time step of this data is 15min instead of 1hr. But this is not the source of the issue.
The soup library, once the xml parsed, returns several position/flows with the same value. This is confusing for the function
_parse_crossborder_flows_timeseries(soup)
:The soup first positions are :