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

make xee compatible with rioxarray #174

Open
12rambau opened this issue Sep 12, 2024 · 4 comments
Open

make xee compatible with rioxarray #174

12rambau opened this issue Sep 12, 2024 · 4 comments
Labels
enhancement New feature or request P1

Comments

@12rambau
Copy link
Contributor

12rambau commented Sep 12, 2024

when dealing with rasters represented as xarray datasets, rioxarray have proven to be extremely useful to perform all sort of enoying tasks like reproject, window reading, parralalesiation, plottting etc...
It shine with a vibrant community and I don't see any reason to reinvent the wheel here.

As rioxarray is a xarray extention, it's automatically loaded upon import. The only limitation to use it is to make sure that datasets generated by xee have all the metadata required by GDAL and rio to perform their magic.

Do you think it would make sense ? Happy to propose a PR in this direction.

@12rambau 12rambau changed the title makre make xee compatible with rioxarray Sep 12, 2024
@naschmitz naschmitz added enhancement New feature or request P1 labels Sep 17, 2024
@alxmrs
Copy link
Collaborator

alxmrs commented Sep 20, 2024

I’m not so familiar with rioxarray. What metadata is required to be compatible with GDAL? Could you show me a (mock) code example where the two libraries would interact? I don’t understand what problem for the user that this solves where there isn’t a solution today. I’m not saying there isn’t a problem, I simply don’t know. Like, isn’t it a good thing that we don’t have to interface with GDAL client-side?

@12rambau
Copy link
Contributor Author

TBH once I started using rasterio in a Python environment, GDAL stopped being an issue as the compilation is maintained and managed by rasterio wheel itself (the consequence is of course a very big wheel but you know the omelet, the eggs....).
I have multiple use cases that requires lots of extra work when they are literally one-liner within rioxarray.
The biggest challenges being reprojection, plotting and histogram matching.

I'll try to make you a small reproducible example during the the geo4good hackathon.

@alxmrs
Copy link
Collaborator

alxmrs commented Sep 25, 2024

I’m warming up to this feature having seen more of how folks use Xee. I wrote a note on user expectations here:

#45 (comment)

Maybe it’s my first time experiencing “the death of the author.” :)

@alxmrs
Copy link
Collaborator

alxmrs commented Sep 25, 2024

And I look forward to your prototype!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1
Projects
None yet
Development

No branches or pull requests

3 participants