-
Notifications
You must be signed in to change notification settings - Fork 9
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
Quickstart example doesn't work #11
Comments
Thanks for reporting this @alexgleith Did you install The reason I'm asking is because large binary files are tracked with |
Ah, from PyPI. Are the files very large? |
Also, this crash doesn't look like it's caused by missing data... |
Okay, I was able to reproduce and identify the issue. history = s2_cube.B3.sel(time=slice(None, '2019-01-01'))
monitor = s2_cube.B3.sel(time=slice('2019-01-01', None)) must be used instead of: history = s2_cube.B3.sel(slice(None, '2019-01-01'))
monitor = s2_cube.B3.sel(slice('2019-01-01', None)) |
Of course, yep! Sorry, I should habe been able to figure that out too! haha |
Ok, now it works, but crashes on |
I tried the quickstart example, here: https://nrt.readthedocs.io/en/latest/quickstart.html
Code looks like this:
This crashes on the line
history = s2_cube.B3.sel(slice(None, '2019-01-01'))
with the error:I'm running using xarray version
2024.6.0
, but also tested with an older version. Both crashed with the same error.The text was updated successfully, but these errors were encountered: