We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bcfc55 commit bde9d46Copy full SHA for bde9d46
reproject/mosaicking/coadd.py
@@ -191,6 +191,8 @@ def reproject_and_coadd(
191
xc_out, yc_out = wcs_out.low_level_wcs.celestial.world_to_pixel(wcs_in.celestial.pixel_to_world(xc, yc))
192
zc_out = wcs_out.low_level_wcs.spectral.world_to_pixel(wcs_in.spectral.pixel_to_world(zc))
193
shape_out_cel = shape_out[1:]
194
+ else:
195
+ raise ValueError(f"Wrong number of dimensions: {array_in.ndim}")
196
197
# Determine the cutout parameters
198
0 commit comments