Build: #2 was successful
Job: Test Tasks Many Linux 2.28 Py3.12 was successful
Code commits
CASA6
-
Rui Xue <rx.astro@gmail.com> e88b6f7368624cceb1385c3e784448fc7cffaf8b
CAS-14756: Fix TiledShape constructor using wrong overload in buildImage()
TiledShape(IPosition(4, x, y, shape[2], chunksize)) called the
single-argument constructor, making the tile dimensions the image
shape. The resulting tiny on-disk image caused all MPI workers to
fail in SpectralImageUtil::getChannel() with "Channel requested does
not exist".
We now pass the full image shape as the first argument:
TiledShape(shape, IPosition(4, x, y, shape[2], chunksize))
Also use ceiling division for chunksize to handle nchan % nchunks != 0.