Vendor dask map_coordinates implementation
This adds the map_coordinates implementation from https://github.com/dask/dask-image/pull/237 until that PR is merged and released. I decided to just put that in a PR on its own and to then rebase https://github.com/astropy/reproject/pull/532 and use it there, to keep PRs from being too large.
Codecov Report
:x: Patch coverage is 22.50000% with 31 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 88.66%. Comparing base (4f8e9eb) to head (4c7c836).
:warning: Report is 5 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| reproject/_dask_utils.py | 22.50% | 31 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #566 +/- ##
==========================================
- Coverage 90.12% 88.66% -1.46%
==========================================
Files 30 31 +1
Lines 1822 1862 +40
==========================================
+ Hits 1642 1651 +9
- Misses 180 211 +31
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
fyi there is a dask-image pre-release with map_coordinates now available: https://github.com/dask/dask-image/releases/tag/v2025.11.0rc1
You should be able to try it out with: pip install --pre dask-image
@astrofrog are you able to try that out and let me know if you find any problems before I make the full release?