Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency: End timestamps inclusive/exclusive #377

Open
sstroemer opened this issue Dec 22, 2024 · 0 comments
Open

Inconsistency: End timestamps inclusive/exclusive #377

sstroemer opened this issue Dec 22, 2024 · 0 comments

Comments

@sstroemer
Copy link

Consider

start = pd.Timestamp('2024-12-12 15:00:00+0100', tz='Europe/Vienna')
end = pd.Timestamp('2024-12-12 16:00:00+0100', tz='Europe/Vienna')

Then

>>> client.query_net_position('AT', start=start, end=end)
2024-12-12 15:00:00+01:00    1848.2
Freq: 60min, dtype: float64
>>> client.query_wind_and_solar_forecast('AT', start=start, end=end)
                           Solar  Wind Onshore
2024-12-12 15:00:00+01:00  272.0         120.0
2024-12-12 15:15:00+01:00  228.0         124.0
2024-12-12 15:30:00+01:00  188.0         124.0
2024-12-12 15:45:00+01:00  152.0         128.0
2024-12-12 16:00:00+01:00   60.0         132.0

Is there a good reason for the different behavior depending on the resolution of the queried data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant