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 a05ccb0 commit a0f3111Copy full SHA for a0f3111
reproject/mosaicking/coadd.py
@@ -190,6 +190,8 @@ def reproject_and_coadd(
190
xc_out, yc_out = wcs_out.low_level_wcs.celestial.world_to_pixel(wcs_in.celestial.pixel_to_world(xc, yc))
191
zc_out = wcs_out.low_level_wcs.spectral.world_to_pixel(wcs_in.spectral.pixel_to_world(zc))
192
shape_out_cel = shape_out[1:]
193
+ else:
194
+ raise ValueError(f"Wrong number of dimensions: {array_in.ndim}")
195
196
# Determine the cutout parameters
197
0 commit comments