Skip to content

Make DataArray[item] preserve WCS and/or wavelength info for all legal item selections.

Simon Conseil requested to merge mcs_26sep into master

Prior to this patch, if c was a cube, c[10] returned an MPDAF Image that didn't have any WCS information, and c[10:20] returned a Cube without either WCS or wavelength information. This patch adds support for these cases and a few other legal slice specifications to DataArray.getitem().

Merge request reports