Skip to content

Document how interp handles Dask chunks - #11786

Merged
headtr1ck merged 4 commits into
pydata:mainfrom
headtr1ck:doc-interp-dask
Oct 26, 2026
Merged

headtr1ck merged 4 commits into
pydata:mainfrom
headtr1ck:doc-interp-dask

Conversation

@headtr1ck

@headtr1ck headtr1ck commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Document how interp handles chunked Dask arrays, following the discussion in #11681 (comment).

  • Chunks along the interpolated dimensions are merged into a single chunk.
  • With linear/nearest, the data is only subset to the range of the new coordinates if those are in memory. Chunked new coordinates are not computed in advance (since Rewrite interp to use apply_ufunc #9881), so all chunks are read. Loading them first can reduce the memory use considerably.
  • Adds a note to the interp docstrings.

Checklist

  • User visible changes (including notable bug fixes) are documented in whats-new.rst

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.
      Tools: Claude Code with Opus 5.5

🤖 Generated with Claude Code

headtr1ck and others added 2 commits October 22, 2026 09:41
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Comment thread doc/user-guide/interpolation.md Resolved
@headtr1ck headtr1ck added the plan to merge Final call for comments label Oct 22, 2026
headtr1ck and others added 2 commits October 26, 2026 13:45
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@headtr1ck
headtr1ck enabled auto-merge (squash) October 26, 2026 13:13
@headtr1ck
headtr1ck merged commit 960d99a into pydata:main Oct 26, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants