SciPy Sprint: Creating Flexible Indexes #6783
Replies: 8 comments 33 replies
-
Some index ideas:
Another topic could be material for tutorial.xarray.dev (https://github.com/xarray-contrib/xarray-tutorial/issues)
Update docstrings with "Examples" and "See Also" sections: #5816 (comment) |
Beta Was this translation helpful? Give feedback.
-
yes, here it is: xarray-contrib/pint-xarray#163 (see here for an example of how to try it out using the internal API, we don't have public API to set custom indexes yet). |
Beta Was this translation helpful? Give feedback.
-
I'd love to see what would come out of a sprint on creating custom indexes! Too sad that I won't be much available this weekend (even remotely), but I'll try to see tomorrow if I can prepare some quick documentation or code that could be useful for the sprint.
For the case of latitude / longitude, you could check https://github.com/benbovy/pys2index which allows wrapping queries around the Earth, although it currently only supports point-wise indexing. It is used in xoak but the latter is not yet reusing Xarray's flexible indexes. FWIW, in addition to continuing some work on flexible indexes, I'll start (probably sometime during this summer) working on Python bindings for https://github.com/paleolimbot/s2geography (thanks to a NumFOCUS small development grant), which could then be reused as a backend engine for Xarray geographical indexes. |
Beta Was this translation helpful? Give feedback.
-
Hello! I am also at SciPy and am very interested in attempting you use the flexible indicies stuff to work with Astro functional coordinate transforms. |
Beta Was this translation helpful? Give feedback.
-
I've put together some preliminary documentation on custom indexes here: https://hackmd.io/Zxw_zCa7Rbynx_iJu6Y3LA?view It's a very rough draft but I hope it will be helpful for the sprint! EDIT: Do not hesitate to edit / comment the draft! |
Beta Was this translation helpful? Give feedback.
-
Is there any interest in making this a hybrid event? I'd be able to help out tomorrow in that case. |
Beta Was this translation helpful? Give feedback.
-
Great thank you Justus!
Any remote help is greatly appreciated as everything is very busy at the
moment here.
I intended this discussion to advertise the sprint, so we could at least
pin this? I could also send an email to the users mailing list? Very late
notice though - what does @xarray_dev think?
…On Fri, 15 Jul 2022, 17:20 Justus Magin, ***@***.***> wrote:
That sounds like good advice! I'll try to sort the docstrings according to
difficulty tomorrow, most of them *should* be very easy tasks. We should
probably also edit the first post in this discussion to be that list of
issues.
Should we advertise the sprint to people outside of scipy? If so, where
would that be? I suppose we will only get spontaneous sprinters, but it
might be worth it anyways?
—
Reply to this email directly, view it on GitHub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pydata_xarray_discussions_6783-23discussioncomment-2D3159868&d=DwMCaQ&c=009klHSCxuh5AI1vNQzSO0KGjl4nbi2Q0M1QLJX9BeE&r=qdISi9HqjazmE0DcySuXts3OlnplnLfKjH4hpzAV0xo&m=hy4v72GPuC8PqxeHL_80IY4_rVb8Q2c_Eyr_YFobpu3PXnSw9BufgE9E6Nzeygqq&s=uDQ3E2jMNtCjkJvz0kKkCajptcEAC18w8ZCCLQjVI90&e=>,
or unsubscribe
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AISNPI7HIYVOMCCRR6MIOBDVUHP3LANCNFSM53S52YNA&d=DwMCaQ&c=009klHSCxuh5AI1vNQzSO0KGjl4nbi2Q0M1QLJX9BeE&r=qdISi9HqjazmE0DcySuXts3OlnplnLfKjH4hpzAV0xo&m=hy4v72GPuC8PqxeHL_80IY4_rVb8Q2c_Eyr_YFobpu3PXnSw9BufgE9E6Nzeygqq&s=PjPSJswvHQ0gddeOqIlBQ1tBJDftG_NmRdTynNkmawY&e=>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Using Flexible Indexes Sprint
I'm at SciPy right now, and running an xarray code Sprint right now!
It's in-person here but I hope we could involve people remotely too!
Times: 9am-6pm CDT July 16th and 17th
Sprint topic
I thought we could propose one focusing on the recent Flexible Indexes refactor - that's in a state where we're ready to try out making custom indexes.
Specific use case ideas
I have already found a few scipy attendees here who are interested in making various types of custom indexes, in particular:
Links
Indexes refactor project which links to more suggestions https://github.com/pydata/xarray/projects/1
Any other ideas for indexes?
@pydata/xarray what do you think?
cc @scottyhq @JessicaS11
EDIT: @benbovy has come through and given us a temporary API to set custom indexes! 🚀
EDIT2: and @benbovy wrote some docs to help us! What a hero
EDIT3: Invite to shiny new discord! https://discord.gg/yduZSMYe
Beta Was this translation helpful? Give feedback.
All reactions