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

Unreleased version of xarray (0.18) breaks things #260

Closed
snowman2 opened this issue Mar 1, 2021 · 6 comments
Closed

Unreleased version of xarray (0.18) breaks things #260

snowman2 opened this issue Mar 1, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@snowman2
Copy link
Member

snowman2 commented Mar 1, 2021

https://github.com/corteva/rioxarray/runs/1990677174?check_suite_focus=true

test_to_raster fails with:

AttributeError: 'DataArray' object has no attribute 'values'

test_to_raster__dataset__mask_and_scale fails with:

IndexError: too many indices
@snowman2 snowman2 added the bug Something isn't working label Mar 1, 2021
@djhoese
Copy link
Contributor

djhoese commented Mar 1, 2021

Possibly related: pydata/xarray#4934

@robmarkcole
Copy link

I can report a similar error, although xarray is functioning without issue.

AttributeError: cannot set attribute '_file_obj' on a 'DataArray' object. Use __setitem__ styleassignment (e.g., `ds['name'] = ...`) instead of assigning variables.
xarray==0.17.0
rioxarray==0.3.0

@snowman2
Copy link
Member Author

snowman2 commented Mar 2, 2021

#254 is what you are experiencing. This has been addressed in the 0.3.1 release.

@robmarkcole
Copy link

Can confirm, thanks @snowman2

@alexamici
Copy link
Contributor

@snowman2 another breakage come from the rename of LazilyOuterIndexedArray to LazilyIndexedArray un master pydata/xarray#5111

Note that I already proposed a PR to keep the old name around to ease the migration: pydata/xarray#5112

@snowman2
Copy link
Member Author

snowman2 commented Apr 6, 2021

@alexamici, thanks for your help getting things working again 👍

@snowman2 snowman2 closed this as completed Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants