Skip to content

Allow blocks smaller than full shape along reprojected dimensions and fix calculation of co-addition footprint in broadcasted parallelization#613

Open
astrofrog wants to merge 3 commits into
astropy:mainfrom
astrofrog:blockwise-reproject
Open

Allow blocks smaller than full shape along reprojected dimensions and fix calculation of co-addition footprint in broadcasted parallelization#613
astrofrog wants to merge 3 commits into
astropy:mainfrom
astrofrog:blockwise-reproject

Conversation

@astrofrog

Copy link
Copy Markdown
Member

WIP

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.69892% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.33%. Comparing base (94cd287) to head (6381d0c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
reproject/_common.py 94.36% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #613      +/-   ##
==========================================
+ Coverage   89.19%   89.33%   +0.13%     
==========================================
  Files          51       51              
  Lines        2138     2156      +18     
==========================================
+ Hits         1907     1926      +19     
+ Misses        231      230       -1     

☔ 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 changed the title Use da.blockwise for broadcasted parallelization Use da.blockwise for broadcasted parallelization which allows reprojected blocks smaller than full shape Jul 1, 2026
astrofrog added 2 commits July 2, 2026 12:14
…mensions for non_reprojected_dims reprojection, tiling each plane so the coordinate transform memory stays bounded, and route dask array inputs through map_blocks so each block is reprojected from the input directly
…ed dimensions of the input WCS to the output, sampling several positions along the non-reprojected axes, so coaddition works when the output WCS has fewer dimensions than the input such as a celestial only output with non_reprojected_dims
@astrofrog astrofrog force-pushed the blockwise-reproject branch from 5d5330d to e3ccdb8 Compare July 2, 2026 12:16
@astrofrog astrofrog changed the title Use da.blockwise for broadcasted parallelization which allows reprojected blocks smaller than full shape Allow blocks smaller than full shape along reprojected dimesnions in broadcasted parallelization Jul 2, 2026
@astrofrog astrofrog changed the title Allow blocks smaller than full shape along reprojected dimesnions in broadcasted parallelization Allow blocks smaller than full shape along reprojected dimensions and fix calculation of co-addition footprint in broadcasted parallelization Jul 2, 2026
@astrofrog astrofrog marked this pull request as ready for review July 2, 2026 12:37
@astrofrog

Copy link
Copy Markdown
Member Author

pre-commit.ci autofix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant