-
Notifications
You must be signed in to change notification settings - Fork 4
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
Checkout pyresample #14
Comments
|
Maybe not anymore? #12 (comment) |
Hi @willirath and @benbovy. I'm one of the core developers on pyresample (also @mraspaud and @pnuu). I also tried to start the geoxarray library which as far as purpose I hope to be an overlap of xoak, rioxarray (CC @snowman2), and pyresample (depending on and/or supplementing these libraries). Shortly after trying to start the project I realized that holding on to coordinate information in xarray objects/accessors was not as "clean" as I thought it was going to be and I basically gave up for a while. But I'd like to bring the project back up, if not in implementation then at least figure out the concepts that I was originally hoping to cover. @raybellwaves has pointed xoak out to me a couple times now and I'm very impressed, but I'm really lacking in my understanding of indexers (xarray or pandas). I'm hoping you can clear some things up for me about xoak and the future you see. I've been trying to follow pydata/xarray#4979 and pydata/xarray#5102 and I'm wondering how this work will affect xoak? Would it make things like the xoak accessor's What I'd really like to get to eventually with geoxarray (or the geospatial xarray community) is indexers that allow for CRS-aware selection/indexing, consistent spatial resampling interfaces, and consistent CRS/projection/coordinate metadata handling and conversion. That's why I'm currently trying to figure out how I can take what I know from Satpy/Pyresample and rioxarray and merge it with the new information I'm gathering from xoak. Side note: Regarding pykdtree performance, I'd like to see how these benchmarks were run. @mraspaud just recently ran some tests and found similar performance to pykdtree's original findings in its README. There is a chance that if pykdtree was installed in a certain way the OpenMP library wasn't included and used. Also, we've been using pykdtree underneath some dask map_blocks/delayed calls in the Satpy library for resampling and have been slowly moving the functionality to pyresample. |
Hi @djhoese! Hope to clarify things a bit about Xarray flexible indexes and Xoak here. We started Xoak as a preliminary project before starting to work on flexible indexes in Xarray. At some point, some of Xoak's specific features will likely reuse Xarray API:
That's definitely the goal with Xarray's flexible indexes refactoring. Once this is ready, you should be able to create your own index class (in I think fully CRS-aware indexes are out of scope for Xoak, which is more focused on "basic" indexes for irregular data (including some indexes for lat/lon coordinates), but maybe such CRS-aware index could be itself built on top of one of the indexes that Xoak provides?
That's a good question, we haven't tested Xoak with many kinds of datasets yet. For example, using the |
Does that mean that this entrypoint system doesn't exist yet for index registration? |
In Xarray indeed there's no API or system yet for registering or even using custom indexes other than |
As noted by @koldunovn: We should have a look at https://pyresample.readthedocs.io/en/latest/
The text was updated successfully, but these errors were encountered: