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

Deprecated open_rasterio xarray #239

Closed
tlogan2000 opened this issue Mar 8, 2024 · 0 comments · Fixed by #240
Closed

Deprecated open_rasterio xarray #239

tlogan2000 opened this issue Mar 8, 2024 · 0 comments · Fixed by #240

Comments

@tlogan2000
Copy link

Description

Describe what you were trying to get done or your feature request.
xarray v2023.04.0 (April 14, 2023) removes deprecated open_rasterio

Environment

  • Birdy version : 0.8.4
  • Python version: 3.10
  • Operating System: linux

Additional Information

return xarray.open_rasterio(self.file)

birdy should be able to support new syntax xr.open_dataset("my.tif", engine="rasterio") to allow for new versions of xarray

Links to other issues or sources.
https://github.com/Ouranosinc/pavics-jupyter-env-issues/issues/3

tlvu added a commit to Ouranosinc/PAVICS-e2e-workflow-tests that referenced this issue Mar 16, 2024
To pull this change bird-house/birdy#240.

To fix this error bird-house/birdy#239:
```
RavenPy-master/docs/notebooks/02_Extract_geographical_watershed_properties.ipynb::Cell 5
AttributeError: module 'xarray' has no attribute 'open_rasterio'
```
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

Successfully merging a pull request may close this issue.

1 participant