Skip to content

Fix dask performance issue and corner cases for dask interpolation#620

Merged
astrofrog merged 2 commits into
astropy:mainfrom
astrofrog:coadd-build-meta
Jul 6, 2026
Merged

Fix dask performance issue and corner cases for dask interpolation#620
astrofrog merged 2 commits into
astropy:mainfrom
astrofrog:coadd-build-meta

Conversation

@astrofrog

Copy link
Copy Markdown
Member

No description provided.

astrofrog added 2 commits July 6, 2026 20:21
… dask otherwise infers it by calling the combine function once per output chunk at graph construction time, allocating two full-size chunks per call, which for large mosaics consumed tens of gigabytes and dominated the graph construction time
…or empty coordinate sets when calling dask-image's map_coordinates, since it computes chunk associations that index past the chunk grid for out-of-range coordinates and crashes on zero-size coordinate arrays, and the affected points are reset to cval afterwards anyway
@astrofrog astrofrog added the bug label Jul 6, 2026
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.02%. Comparing base (b559059) to head (a4bcd4e).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #620      +/-   ##
==========================================
+ Coverage   90.00%   90.02%   +0.01%     
==========================================
  Files          51       51              
  Lines        2312     2315       +3     
==========================================
+ Hits         2081     2084       +3     
  Misses        231      231              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@astrofrog astrofrog merged commit 508b552 into astropy:main Jul 6, 2026
17 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.

1 participant