Repository navigation
Commit b8a74a9
fix(raster): refuse a band of the wrong length in write_all
write_all now returns an error when a band doesn't hold width × height
values instead of filling the gap with NaN. The project round-trip test
also checks that each derived layer's bands come from their own source
bands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 33dcedd commit b8a74a9
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1740 | 1740 | | |
1741 | 1741 | | |
1742 | 1742 | | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
1743 | 1746 | | |
1744 | 1747 | | |
1745 | 1748 | | |
1746 | 1749 | | |
1747 | 1750 | | |
1748 | 1751 | | |
1749 | | - | |
| 1752 | + | |
1750 | 1753 | | |
1751 | 1754 | | |
1752 | 1755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16621 | 16621 | | |
16622 | 16622 | | |
16623 | 16623 | | |
| 16624 | + | |
| 16625 | + | |
| 16626 | + | |
| 16627 | + | |
| 16628 | + | |
| 16629 | + | |
16624 | 16630 | | |
16625 | 16631 | | |
16626 | 16632 | | |
| |||
0 commit comments