-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
add .oindex
and .vindex
to BackendArray
#8885
add .oindex
and .vindex
to BackendArray
#8885
Conversation
…yWrapper, NioArrayWrapper, and ZarrArrayWrapper
@andersy005 When will this finally take effect? I've a bunch of backends out there, can I do something prematurely to adapt this? Or should I wait for the DeprecationWarnings to kick in? Thanks and sorry for the noise. |
thank you for chiming in @kmuehlbauer!
there's still quite a bit of work that needs to be implemented to make the switch an pleasant experience. So, i would say it might worth waiting until we've implemented the deprecation warnings. i will ping you once i have everything ready in xarray proper so you can take a look |
@dcherian, this is ready for review, when you get a chance |
Co-authored-by: Deepak Cherian <[email protected]>
Co-authored-by: Deepak Cherian <[email protected]>
@andersy005 two thoughts:
Given (2), what do you think of keeping this branch open, and then opening PRs against this branch (e.g.#8870) |
@dcherian, i created a new feature branch this is my first time opening PRs against feature branches in |
i temporary enabled the CI triggers on the feature branch.... |
@dcherian, let me know if you deem this ready to be merged into the feature branch |
* add .oindex and .vindex to BackendArray * Add support for .oindex and .vindex in H5NetCDFArrayWrapper * Add support for .oindex and .vindex in NetCDF4ArrayWrapper, PydapArrayWrapper, NioArrayWrapper, and ZarrArrayWrapper * add deprecation warning * Fix deprecation warning message formatting * add tests * Update xarray/core/indexing.py Co-authored-by: Deepak Cherian <[email protected]> * Update ZarrArrayWrapper class in xarray/backends/zarr.py Co-authored-by: Deepak Cherian <[email protected]> --------- Co-authored-by: Deepak Cherian <[email protected]>
* backend-indexing: Trigger CI only if code files are modified. (pydata#9006) Enable explicit use of key tuples (instead of *Indexer objects) in indexing adapters and explicitly indexed arrays (pydata#8870) add `.oindex` and `.vindex` to `BackendArray` (pydata#8885) temporary enable CI triggers on feature branch Avoid auto creation of indexes in concat (pydata#8872) Fix benchmark CI (pydata#9013) Avoid extra read from disk when creating Pandas Index. (pydata#8893) Add a benchmark to monitor performance for large dataset indexing (pydata#9012) Zarr: Optimize `region="auto"` detection (pydata#8997) Trigger CI only if code files are modified. (pydata#9006) Fix for ruff 0.4.3 (pydata#9007) Port negative frequency fix for `pandas.date_range` to `cftime_range` (pydata#8999) Bump codecov/codecov-action from 4.3.0 to 4.3.1 in the actions group (pydata#9004) Speed up localize (pydata#8536) Simplify fast path (pydata#9001) Add argument check_dims to assert_allclose to allow transposed inputs (pydata#5733) (pydata#8991) Fix syntax error in test related to cupy (pydata#9000)
this PR builds towards
xarray.namedarray
(Part 1) #8856the primary objective is to partially address
whats-new.rst
api.rst